浏览代码

* Fixed a bug in the caca importer.

tags/v0.99.beta14
Sam Hocevar sam 18 年前
父节点
当前提交
e656963a9a
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. +4
    -4
      cucul/import.c

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

@@ -285,10 +285,10 @@ static long int import_caca(cucul_canvas_t *cv,
}

cv->curattr = sscanu32(buf + 4 + 16 + 12);
cv->frames[0].x = (int32_t)sscanu32(buf + 4 + 16 + f * 24 + 16);
cv->frames[0].y = (int32_t)sscanu32(buf + 4 + 16 + f * 24 + 20);
cv->frames[0].handlex = (int32_t)sscanu32(buf + 4 + 16 + f * 24 + 24);
cv->frames[0].handley = (int32_t)sscanu32(buf + 4 + 16 + f * 24 + 28);
cv->frames[0].x = (int32_t)sscanu32(buf + 4 + 16 + 0 * 24 + 16);
cv->frames[0].y = (int32_t)sscanu32(buf + 4 + 16 + 0 * 24 + 20);
cv->frames[0].handlex = (int32_t)sscanu32(buf + 4 + 16 + 0 * 24 + 24);
cv->frames[0].handley = (int32_t)sscanu32(buf + 4 + 16 + 0 * 24 + 28);

return 4 + control_size + data_size;



正在加载...
取消
保存