1 Star 0 Fork 6

wuzx/tix

forked from src-openEuler/tix 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
tix-8.4.3-covscan-fixes.patch 1.94 KB
一键复制 编辑 原始数据 按行查看 历史
dogsheng 提交于 2019-12-14 21:40 . Package init
diff -up Tix8.4.3/generic/tixGrUtl.c.orig Tix8.4.3/generic/tixGrUtl.c
--- Tix8.4.3/generic/tixGrUtl.c.orig 2004-03-28 04:44:56.000000000 +0200
+++ Tix8.4.3/generic/tixGrUtl.c 2018-08-01 14:49:18.839262337 +0200
@@ -191,7 +191,7 @@ int Tix_GrConfigSize(interp, wPtr, argc,
if (sizePtr->charValue != newSize.charValue) {
changed = 1;
}
- if (sizePtr->pad1 != newSize.pad0) {
+ if (sizePtr->pad0 != newSize.pad0) {
changed = 1;
}
if (sizePtr->pad1 != newSize.pad1) {
diff -up Tix8.4.3/generic/tix.h.orig Tix8.4.3/generic/tix.h
--- Tix8.4.3/generic/tix.h.orig 2008-02-28 05:35:16.000000000 +0100
+++ Tix8.4.3/generic/tix.h 2018-08-01 14:45:03.306004016 +0200
@@ -39,6 +39,7 @@ extern "C" {
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
+#include <ctype.h>
#endif
#ifndef CONST84
diff -up Tix8.4.3/Python/Demo/tix/samples/CmpImg.py.orig Tix8.4.3/Python/Demo/tix/samples/CmpImg.py
--- Tix8.4.3/Python/Demo/tix/samples/CmpImg.py.orig 2001-12-10 00:29:43.000000000 +0100
+++ Tix8.4.3/Python/Demo/tix/samples/CmpImg.py 2018-08-01 14:49:57.959301881 +0200
@@ -148,7 +148,7 @@ def RunSample(w):
if not w.img0:
w.img0 = Tix.Image('bitmap', data=network_bitmap)
w.img1 = Tix.Image('pixmap', data=hard_disk_pixmap)
- if not w.img0:
+ if not w.img1:
w.img1 = Tix.Image('bitmap', data=hard_disk_bitmap)
hdd = Tix.Button(w, padx=4, pady=1, width=120)
diff -up Tix8.4.3/PyTix-2.0/demos/samples/CmpImg.py.orig Tix8.4.3/PyTix-2.0/demos/samples/CmpImg.py
--- Tix8.4.3/PyTix-2.0/demos/samples/CmpImg.py.orig 2000-11-05 20:57:44.000000000 +0100
+++ Tix8.4.3/PyTix-2.0/demos/samples/CmpImg.py 2018-08-01 14:50:14.934319043 +0200
@@ -148,7 +148,7 @@ def RunSample(w):
if not w.img0:
w.img0 = Tix.Image('bitmap', data=network_bitmap)
w.img1 = Tix.Image('pixmap', data=hard_disk_pixmap)
- if not w.img0:
+ if not w.img1:
w.img1 = Tix.Image('bitmap', data=hard_disk_bitmap)
hdd = Tix.Button(w, padx=4, pady=1, width=120)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wuzx065891/tix.git
[email protected]:wuzx065891/tix.git
wuzx065891
tix
tix
master

搜索帮助