Possibility to set directory by file dialog in lgconfig
[vlp.git] / src / kernel / kernel.cpp
index 89b4aab9067c8f4304d745097870706a5a9500aa..1f7d383ebc8f6500ef184fe7943a5d64d4753574 100644 (file)
@@ -674,8 +674,6 @@ void QKernel::IntMessage(int sock)
                case MSG_INT:
                        switch(msg.param.pword[0]) {
                        case INT_EXITING:
-                               char ss[255];
-
                                MESSAGE m;
                                m.msg_type = MSG_VLP;
                                m.param.pword[0] = VLP_INTERPRETER_DOWN;
@@ -690,6 +688,7 @@ void QKernel::IntMessage(int sock)
                                delete e;
 
                                if (info_messages) {
+                                       char ss[255];
                                        sprintf(ss, "%s : End of program "
                                                "execution", msg.param.pstr);
                                        WriteMessage(ss);