// sanitise frame position as a first pass at Win32 registry bug
printf("x = %d y = %d w = %d h = %d\n", x,y,w,h);
- if (x < 0) x = 20;
- if (y < 0) y = 20;
- if (w < 0) w = 800;
- if (h < 0) h = 550;
+ if (x < 0 || x > 2048) x = 20;
+ if (y < 0 || y > 2048) y = 20;
+ if (w < 0 || w > 2048) w = 800;
+ if (h < 0 || h > 2048) h = 550;
// note: run DebugView program to see this message under windows
//wxLogDebug("x = %d y = %d w = %d h = %d\n", x,y,w,h);
#define FREEDV_VERSION_MAJOR 0
#define FREEDV_VERSION_MINOR 97
-#define FREEDV_VERSION_PATCH 0
+#define FREEDV_VERSION_PATCH 1
#define FREEDV_VERSION_SUFFIX "Beta"
-#define FREEDV_VERSION "0.97.0 Beta"
+#define FREEDV_VERSION "0.97.1 Beta"
#endif //FREEDV_VER_DOT_H