瀏覽代碼

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

tags/v0.99.beta14
Sam Hocevar sam 18 年之前
父節點
當前提交
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)
{
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);
}



Loading…
取消
儲存