Changeset 9923


Ignore:
Timestamp:
2005-05-23T15:42:42+12:00 (19 years ago)
Author:
davidb
Message:

Added curly-brackets around if-statement.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/documentaction.cpp

    r9917 r9923  
    327327  disp.expandstring (displayclass::defaultpackage, "_pagewidth_", width);
    328328  twidth = width.getint();
    329      
     329
    330330  if (has_search_button) {
    331331    disp.expandstring ("query", "_searchwidth_", width);
     
    339339
    340340    disp.expandstring ("document", "_" + title + "width_", width);
    341     if (width == ("_" + title + "width_"))
     341    if (width == ("_" + title + "width_")) {
    342342      disp.expandstring ("document", "_defaultwidth_", width);
     343    }
    343344    iwidth += width.getint();
    344345    ++dochere;
    345346  }
     347
    346348  if ((twidth - iwidth) < numc) swidth = 2;
    347349  else {
Note: See TracChangeset for help on using the changeset viewer.