Changeset bbed692 in git


Ignore:
Timestamp:
06/03/15 04:01:06 (5 years ago)
Author:
Olly Betts <olly@…>
Branches:
line_contents, master, stereo, travis-osx
Children:
bb71423
Parents:
0e81a88
Message:

src/cavernlog.cc: Avoid hardcoding numeric value of LOG_REPROCESS.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r0e81a88 rbbed692  
     1Fri Mar 06 04:00:54 GMT 2015  Olly Betts <olly@survex.com>
     2
     3        * src/cavernlog.cc: Avoid hardcoding numeric value of LOG_REPROCESS.
     4
    15Fri Mar 06 03:56:13 GMT 2015  Olly Betts <olly@survex.com>
    26
  • src/cavernlog.cc

    r0e81a88 rbbed692  
    459459        /* TRANSLATORS: Label for button in aven’s cavern log window which
    460460         * causes the survey data to be reprocessed. */
    461         AppendToPage(wxString::Format(wxT("<avenbutton default id=1234 name=\"%s\">"),
     461        AppendToPage(wxString::Format(wxT("<avenbutton default id=%d name=\"%s\">"),
     462                                      (int)LOG_REPROCESS,
    462463                                      wmsg(/*Reprocess*/184).c_str()));
    463464        if (retval == -1) {
     
    469470        return -1;
    470471    }
    471     AppendToPage(wxString::Format(wxT("<avenbutton id=1234 name=\"%s\">"),
     472    AppendToPage(wxString::Format(wxT("<avenbutton id=%d name=\"%s\">"),
     473                                  (int)LOG_REPROCESS,
    472474                                  wmsg(/*Reprocess*/184).c_str()));
    473475    AppendToPage(wxString::Format(wxT("<avenbutton default id=%d>"), (int)wxID_OK));
Note: See TracChangeset for help on using the changeset viewer.