Import deskutils/xpostitPlus version 2.3_3
[dports.git] / deskutils / xpostitPlus / files / patch-notes.c
1 *** note.c.orig Wed Dec 20 17:15:34 2000
2 --- note.c      Wed Dec 20 17:20:15 2000
3 ***************
4 *** 359,364 ****
5 --- 359,373 ----
6                         }
7                 }
8   
9 +                 /*
10 +                  * The problem is that texth == 0 or textw == 0 causes an ungraceful exit.
11 +                  * In this case, we set them all to a standard size.
12 +                  */
13 +                 if(texth == 0 || textw == 0)
14 +                 {
15 +                     texth = 169;
16 +                     textw = 227;
17 +                 }
18   
19                 /*
20                  * Get the index number of this note.