Changeset 259 for trunk/src/pe2lx/dialog.cpp
- Timestamp:
- Jul 2, 1999, 2:43:30 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/pe2lx/dialog.cpp
r141 r259 1 /* $Id: dialog.cpp,v 1. 4 1999-06-21 01:16:23 buerkleExp $ */1 /* $Id: dialog.cpp,v 1.5 1999-07-02 12:43:30 sandervl Exp $ */ 2 2 3 3 /* … … 188 188 strcpy((char *)dlgcurdata, ctrltext); 189 189 dlgcurdata += dlgitem->cchText + 1; //include terminating 0 (just to be sure) 190 } else 191 { //CB: cchText == 0, OS/2 uses offText anyway! (entryfields) 192 dlgitem->offText = (USHORT)((int)dlgcurdata-(int)dlgt); 193 dlgcurdata++; //0 at offText 190 194 } 191 195 } … … 279 283 strcpy((char *)dlgcurdata, ctrltext); 280 284 dlgcurdata += dlgitem->cchText + 1; //include terminating 0 (just to be sure) 285 } else 286 { //CB: cchText == 0, OS/2 uses offText anyway! (entryfields) 287 dlgitem->offText = (USHORT)((int)dlgcurdata-(int)dlgt); 288 dlgcurdata++; //0 at offText 281 289 } 282 290 } … … 426 434 strcpy((char *)dlgcurdata, ctrltext); 427 435 dlgcurdata += dlgitem->cchText + 1; //include terminating 0 (just to be sure) 436 } else 437 { //CB: cchText == 0, OS/2 uses offText anyway! (entryfields) 438 dlgitem->offText = (USHORT)((int)dlgcurdata-(int)dlgt); 439 dlgcurdata++; //0 at offText 428 440 } 429 441 } … … 513 525 strcpy((char *)dlgcurdata, ctrltext); 514 526 dlgcurdata += dlgitem->cchText + 1; //include terminating 0 (just to be sure) 527 } else 528 { //CB: cchText == 0, OS/2 uses offText anyway! (entryfields) 529 dlgitem->offText = (USHORT)((int)dlgcurdata-(int)dlgt); 530 dlgcurdata++; //0 at offText 515 531 } 516 532 }
Note:
See TracChangeset
for help on using the changeset viewer.