X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=unix%2Fgtkapp.c;h=249be2d39269fea334b2743c1835c76854462455;hb=095072fa46b2d7b8beafaddb2f873d2f500a1e10;hp=46b3873327568624f3eeba0cdd09e6291e019319;hpb=ae53014f535692dd444f2578cbb6edabe7550abb;p=PuTTY.git diff --git a/unix/gtkapp.c b/unix/gtkapp.c index 46b38733..249be2d3 100644 --- a/unix/gtkapp.c +++ b/unix/gtkapp.c @@ -192,7 +192,8 @@ extern int cfgbox(Conf *conf); void launch_duplicate_session(Conf *conf) { - assert(conf_launchable(conf)); + extern const int dup_check_launchable; + assert(!dup_check_launchable || conf_launchable(conf)); new_session_window(conf, NULL); }