瀏覽代碼

* No way, dude. You cannot declare x and y unsigned if you test for (x < 0).

tags/v0.99.beta14
Sam Hocevar sam 19 年之前
父節點
當前提交
5fc912073b
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      cucul/import.c

+ 1
- 1
cucul/import.c 查看文件

@@ -212,7 +212,7 @@ static cucul_canvas_t *import_ansi(void const *data, unsigned int size)
unsigned int i;
unsigned int count = 0;
unsigned int tuple[1024]; /* Should be enough. Will it be ? */
unsigned int x = 0, y = 0;
int x = 0, y = 0;
unsigned int width = 80, height = 25;
int save_x = 0, save_y = 0;
unsigned int j, skip;


Loading…
取消
儲存