本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
說明
登入
cacalabs
/
toilet
镜像来自
https://github.com/cacalabs/toilet.git
關注
1
收藏
0
複製
0
程式碼
問題
0
版本發佈
0
Wiki
活動
瀏覽代碼
* Do not try to autocrop a canvas that has only spaces.
pull/1/head
Sam Hocevar
sam
19 年之前
父節點
808a270565
當前提交
e80a522fcc
共有
1 個檔案被更改
,包括
3 行新增
和
0 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
src/filters.c
+ 3
- 0
src/filters.c
查看文件
@@ -51,6 +51,9 @@ void filter_autocrop(cucul_canvas_t *cv)
}
}
if(xmax < xmin || ymax < ymin)
return;
cucul_set_canvas_boundaries(cv, xmin, ymin,
xmax - xmin + 1, ymax - ymin + 1);
}
Write
Preview
Loading…
取消
儲存