summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/iv/files/patch-by
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/iv/files/patch-by')
-rw-r--r--x11-toolkits/iv/files/patch-by51
1 files changed, 40 insertions, 11 deletions
diff --git a/x11-toolkits/iv/files/patch-by b/x11-toolkits/iv/files/patch-by
index cb1e2b2..ffd077c 100644
--- a/x11-toolkits/iv/files/patch-by
+++ b/x11-toolkits/iv/files/patch-by
@@ -1,13 +1,42 @@
---- src/lib/Unidraw/text.c.orig Tue Dec 28 23:20:23 1999
-+++ src/lib/Unidraw/text.c Tue Dec 28 23:20:46 1999
-@@ -561,8 +561,9 @@
+--- src/bin/doc/DialogMgr.c.org Sat Apr 11 14:28:48 1992
++++ src/bin/doc/DialogMgr.c Sun Jan 23 19:56:53 2000
+@@ -108,7 +108,8 @@
+ Window* window, const char* prompt, const char* filter
+ ) {
+ long count = _chooser->count();
+- for (long i = 0; i < count; ++i) {
++ long i;
++ for (i = 0; i < count; ++i) {
+ ChooserInfo& info = _chooser->item_ref(i);
+ if (strcmp(info._prompt, prompt) == 0) {
+ break;
+@@ -128,7 +129,8 @@
+ Window* window, const char* prompt, const char* initial
+ ) {
+ long count = _asker->count();
+- for (long i = 0; i < count; ++i) {
++ long i;
++ for (i = 0; i < count; ++i) {
+ AskerInfo& info = _asker->item_ref(i);
+ if (strcmp(info._prompt, prompt) == 0) {
+ break;
+@@ -146,7 +148,8 @@
- const char* PSText::Filter (const char* string, int len) {
- TextBuffer stext(sbuf, 0, SBUFSIZE);
-+ int dot;
+ int DialogManager::confirm (Window* window, const char* prompt) {
+ long count = _confirmer->count();
+- for (long i = 0; i < count; ++i) {
++ long i;
++ for (i = 0; i < count; ++i) {
+ ConfirmerInfo& info = _confirmer->item_ref(i);
+ if (strcmp(info._prompt, prompt) == 0) {
+ break;
+@@ -164,7 +167,8 @@
-- for (int dot = 0; len--; string++) {
-+ for (dot = 0; len--; string++) {
- char c = *string;
-
- if (!isascii(c) || iscntrl(c)) {
+ void DialogManager::report (Window* window, const char* prompt) {
+ long count = _reporter->count();
+- for (long i = 0; i < count; ++i) {
++ long i;
++ for (i = 0; i < count; ++i) {
+ ReporterInfo& info = _reporter->item_ref(i);
+ if (strcmp(info._prompt, prompt) == 0) {
+ break;
OpenPOWER on IntegriCloud