Changeset 438 for trunk/Lucide


Ignore:
Timestamp:
Apr 22, 2010, 11:32:23 AM (12 years ago)
Author:
dmik
Message:

Brushed up r436:437.

Location:
trunk/Lucide
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Lucide/changelog

    r437 r438  
    1 1.32:
    2   - Fixed mismatch between the package names and actual plugins they contain.
     11.3.2:
     2  - WPI: Fixed mismatch between the package names and actual plugins they contain.
    33  - WPI: Fixed the version number.
    44  - WPI: Skip the WPS object creation dialog to avoid a possible WPS association
    55    inconsistency (closed ticket 128).
    6   - Renamed version from the x.yz to the x.y.z scheme
    7   - Added a BUILD string to the About Dialoge
     6  - Changed the versioning scheme from X.YZ to X.Y.Z.
    87
    98
  • trunk/Lucide/gui/aboutDlg.cpp

    r437 r438  
    3838#include <string.h>
    3939#include <malloc.h>
     40#include <string>
    4041
    4142#include "globals.h"
     
    115116                centerWindow( hWndFrame, hwnd );
    116117
    117                 char buf[ 256 ];
    118                 if (strlen(appDate) >=1)
    119                 {
    120                         snprintf( buf, sizeof buf, "%s %s %s (%s)", appName, appVersion, appBuild, appDate );
    121                 } else
    122                 {
    123                         snprintf( buf, sizeof buf, "%s %s %s", appName, appVersion, appBuild );
     118                std::string ver = appName;
     119                (ver += ' ') += appVersion;
     120                if ( strlen( appBuild ) > 0 ) {
     121                    (ver += ' ') += appBuild;
    124122                }
    125                 WinSetDlgItemText( hwnd, IDT_LUCIDEVERSION, buf );
     123                if ( strlen( appDate ) > 0 ) {
     124                    ((ver += " (") += appDate) += ')';
     125                }
     126                WinSetDlgItemText( hwnd, IDT_LUCIDEVERSION, ver.c_str() );
    126127
    127128                HPOINTER p = WinLoadPointer( HWND_DESKTOP, _hmod, IDP_HAND );
  • trunk/Lucide/gui/lucide.cpp

    r437 r438  
    8282const char *appName    = "Lucide";
    8383const char *appVersion = VERSION;
    84 const char *appBuild    = BUILD;
    85 const char *appDate = VERSIONDATE;
     84const char *appBuild   = BUILD;
     85const char *appDate    = VERSIONDATE;
    8686const char *prfFwp     = "FrameWindowPos";
    8787const char *prfLvd     = "LastViewedDir";
Note: See TracChangeset for help on using the changeset viewer.