Changeset 218 for trunk/dll/newview.c
- Timestamp:
- Jun 18, 2005, 5:54:24 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/newview.c
r191 r218 13 13 23 May 05 SHL Use QWL_USER 14 14 06 Jun 05 SHL Indent -i2 15 06 Jun 05 SHL Correct reversed wrap logic 15 16 16 17 ***********************************************************************/ … … 722 723 if (!ad -> hex) 723 724 { 724 if ( !ad -> wrapon)725 if (ad -> wrapon) 725 726 { 726 727 width = (Rectl -> xRight - Rectl -> xLeft) / ad -> fattrs.lAveCharWidth; … … 1241 1242 while (p - ad -> text < ad -> textsize && !ad -> stopflag) 1242 1243 { 1243 if ( !ad -> wrapon)1244 if (ad -> wrapon) 1244 1245 { 1245 1246 e = p + (width - 1); … … 2471 2472 while (*e != '\r' && *e != '\n' && e < ad -> text + ad -> textsize) 2472 2473 { 2473 if ( !ad -> wrapon && e - p == width)2474 if (ad -> wrapon && e - p == width) 2474 2475 break; 2475 2476 e++; … … 4047 4048 if (!ad -> busy) 4048 4049 { 4049 ad -> wrapon = (ad -> wrapon)? FALSE : TRUE;4050 ad -> wrapon = ad -> wrapon ? FALSE : TRUE; 4050 4051 WrapOn = ad -> wrapon; 4051 4052 PrfWriteProfileData(fmprof, appname, "Viewer.WrapOn",
Note:
See TracChangeset
for help on using the changeset viewer.