X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2Fvv.cxx;h=301521b4662a8509197d81174b348964b4e5e140;hb=6612a70a1a2056589f70f57bf6b81269be1c645f;hp=981105095d68a80934280b6e332895cc1d42fa9a;hpb=b0acf8431db55edd560b7c6775e1fcc4ff4ba425;p=clitk.git diff --git a/vv/vv.cxx b/vv/vv.cxx index 9811050..301521b 100644 --- a/vv/vv.cxx +++ b/vv/vv.cxx @@ -196,10 +196,13 @@ int main( int argc, char** argv ) window.ApplyWindowLevelToAllImages(); } + + int ret = app.exec(); + #ifndef _WIN32 // restoring the locale, just to be clean... setlocale(LC_NUMERIC, old_locale.c_str()); #endif - return app.exec(); + return ret; }