Skip to content

Commit

Permalink
show VERSION in widget, set version to 3.33
Browse files Browse the repository at this point in the history
  • Loading branch information
hotbso committed Jun 5, 2020
1 parent e83c966 commit 42aea65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xgs.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include <acfutils/assert.h>
#include <acfutils/airportdb.h>

#define VERSION "3.33b1"
#define VERSION "3.33"

static float flight_loop_cb(float inElapsedSinceLastCall,
float inElapsedTimeSinceLastFlightLoop, int inCounter,
Expand Down Expand Up @@ -716,7 +716,7 @@ static void create_event_window()

if (NULL == main_widget) {
main_widget = XPCreateWidget(left, top, left + STD_WINDOW_WIDTH, top - WINDOW_HEIGHT,
0, "Landing Speed", 1, NULL, xpWidgetClass_MainWindow);
0, "Landing Speed " VERSION, 1, NULL, xpWidgetClass_MainWindow);
XPSetWidgetProperty(main_widget, xpProperty_MainWindowType, xpMainWindowStyle_Translucent);
XPSetWidgetProperty(main_widget, xpProperty_MainWindowHasCloseBoxes, 1);
XPAddWidgetCallback(main_widget, widget_cb);
Expand Down

0 comments on commit 42aea65

Please sign in to comment.