diff options
author | Florian Jung <flo@windfisch.org> | 2011-08-25 16:48:59 +0000 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2011-08-25 16:48:59 +0000 |
commit | bd3ef3a814809159bdef0d5ed3bd2cce8b53bd65 (patch) | |
tree | 4173f8adae7b99d06b9b38cabd581409a19c1052 /muse2/muse/cobject.cpp | |
parent | 557b84f7325d632bcd2455bb863c1c6557ce44b4 (diff) |
housekeeping and made some error more fatal (now aborts muse)
Diffstat (limited to 'muse2/muse/cobject.cpp')
-rw-r--r-- | muse2/muse/cobject.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/muse2/muse/cobject.cpp b/muse2/muse/cobject.cpp index 339ebc9d..7f4af8a2 100644 --- a/muse2/muse/cobject.cpp +++ b/muse2/muse/cobject.cpp @@ -331,7 +331,10 @@ void TopWin::shareToolsAndMenu(bool val) void TopWin::storeInitialState() const { if (initalizing) + { printf("THIS SHOULD NEVER HAPPEN: STORE INIT STATE CALLED WHILE INITING! please IMMEDIATELY report that to flo!\n"); + exit(1); + } _widthInit[_type] = width(); _heightInit[_type] = height(); |