Ignore:
Timestamp:
Feb 6, 2012, 4:51:04 PM (14 years ago)
Author:
dmik
Message:

Print version number in About Odin dialog.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/shell32/shell32_odin.cpp

    r21494 r21963  
    5656
    5757#include "os2_integration.h"
     58#include "odinbuild.h"
    5859
    5960
     
    9697 */
    9798#define IDC_ODINLOGO    2001
    98 #define IDC_ODINBUILDNR 2002
     99#define IDC_ODINBUILDNR 98
    99100#define IDB_ODINLOGO    5555
    100101
     
    120121            SetWindowTextA( GetDlgItem(hWnd, IDC_STATIC_TEXT), info->szOtherStuff );
    121122
    122             sprintf( AppTitle, "(%s)", __DATE__);
     123            GetWindowTextA( GetDlgItem(hWnd, IDC_ODINBUILDNR), Template, sizeof(Template) );
     124            sprintf( AppTitle, Template, ODIN32_VERSION_MAJOR,
     125                     ODIN32_VERSION_MINOR, ODIN32_BUILD_NR, __DATE__);
    123126            SetWindowTextA( GetDlgItem(hWnd, IDC_ODINBUILDNR), AppTitle);
    124127            HWND hwndOdinLogo = GetDlgItem(hWnd, IDC_ODINLOGO);
Note: See TracChangeset for help on using the changeset viewer.