使用 JavaScript能使本网站更好的工作。
首页
帮助
登录
cacalabs
/
libcaca
镜像自地址
https://github.com/cacalabs/libcaca.git
关注
1
点赞
0
派生
0
代码
工单
0
版本发布
7
百科
动态
浏览代码
optimization: when the canvas is only a single line, we can always
optimize by merging cells
tags/v0.99.beta17
Ben Wiley Sittler
bsittler
16 年前
父节点
86a512cf34
当前提交
f4b036ef09
共有
1 个文件被更改
,包括
1 次插入
和
1 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+1
-1
caca/codec/export.c
+ 1
- 1
caca/codec/export.c
查看文件
@@ -526,7 +526,7 @@ static void *export_html3(caca_canvas_t const *cv, size_t *bytes)
/* Use colspan option to factor cells with same attributes
* (see below) */
len = 1;
while((y || ! has_multi_cell_row)
while((y ||
(
! has_multi_cell_row)
|| (cv->height == 1))
&&
(x + len < cv->width)
&&
撰写
预览
正在加载...
取消
保存