Changeset 385 for trunk


Ignore:
Timestamp:
Apr 14, 2010, 9:17:23 AM (11 years ago)
Author:
Silvan Scherrer
Message:

updated aboutdlg ticket:174

Location:
trunk/Lucide/gui
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Lucide/gui/Makefile.kmk

    r367 r385  
    2121        lupoppler                                                                 \
    2222        ../plugins/ludoc $(PATH_Lucide_dll)/../ludoc
    23 Lucide_dll_CXXFLAGS      = -DVERSION="\"$(VERSION)\""
     23Lucide_dll_CXXFLAGS      = -DVERSION="\"$(VERSION)\"" -DVERSIONDATE="\"$(VERSIONDATE)\""
    2424Lucide_dll_DEFS.debug    = __TEST__
    2525Lucide_dll_SOURCES       = \
  • trunk/Lucide/gui/aboutDlg.cpp

    r367 r385  
    116116
    117117                char buf[ 256 ];
    118                 snprintf( buf, sizeof buf, "%s %s", appName, appVersion );
     118                if (strlen(appDate) >=1)
     119                {
     120                        snprintf( buf, sizeof buf, "%s %s (%s)", appName, appVersion, appDate );
     121                } else
     122                {
     123                        snprintf( buf, sizeof buf, "%s %s", appName, appVersion );
     124                }
    119125                WinSetDlgItemText( hwnd, IDT_LUCIDEVERSION, buf );
    120126
  • trunk/Lucide/gui/globals.h

    r367 r385  
    4040extern const char *appName;
    4141extern const char *appVersion;
     42extern const char *appDate;
    4243extern HAB hab;
    4344extern Environment *ev;
  • trunk/Lucide/gui/lucide.cpp

    r367 r385  
    8181const char *appName    = "Lucide";
    8282const char *appVersion = VERSION;
     83const char *appDate = VERSIONDATE;
    8384const char *fwp        = "FrameWindowPos";
    8485const char *lvd        = "LastViewedDir";
Note: See TracChangeset for help on using the changeset viewer.