]> git.pld-linux.org Git - packages/WindowMaker.git/blame - WindowMaker-a_macro.patch
- updated for 0.92.0 + cvs patch
[packages/WindowMaker.git] / WindowMaker-a_macro.patch
CommitLineData
0abc564d
JB
1diff -Nur WindowMaker-0.70.0.orig/src/misc.c WindowMaker-0.70.0/src/misc.c
2--- WindowMaker-0.70.0.orig/src/misc.c Thu Oct 4 05:39:18 2001
3+++ WindowMaker-0.70.0/src/misc.c Thu Oct 18 16:26:04 2001
4@@ -679,7 +679,7 @@
0f15f9cf
AF
5 case _PROMPT:
6 if (line[*ptr]==')' && j==0) {
7
8- if (*ptr-begin > 1) {
9+ if (*ptr > begin) {
0abc564d
JB
10 strncpy(pbuffer, &line[begin], WMIN(*ptr-begin, BUFSIZE));
11 pbuffer[WMIN(*ptr-begin, BUFSIZE)] = 0;
0f15f9cf 12 prompt = (char*)pbuffer;
0abc564d 13@@ -698,6 +698,7 @@
0f15f9cf
AF
14 #undef _PROMPT
15 #undef _DONE
16
17+ (*ptr)--; /* To be incremented in ExpandOptions */
18 if (!wInputDialog(scr, title, prompt, &ret))
19 return NULL;
20 else
This page took 0.071161 seconds and 4 git commands to generate.