ソースを参照

* Ahahaha. Meet the "optimisation" that breaks everything.

tags/v0.99.beta14
Sam Hocevar sam 19年前
コミット
3f7362eabb
1個のファイルの変更6行の追加2行の削除
  1. +6
    -2
      cucul/import.c

+ 6
- 2
cucul/import.c ファイルの表示

@@ -179,8 +179,12 @@ static cucul_canvas_t *import_text(void const *data, unsigned int size)


if(x >= width || y >= height) if(x >= width || y >= height)
{ {
width = x + 1;
height = y + 1;
if(x >= width)
width = x + 1;

if(y >= height)
height = y + 1;

cucul_set_canvas_size(cv, width, height); cucul_set_canvas_size(cv, width, height);
} }




読み込み中…
キャンセル
保存