]> granicus.if.org Git - nethack/commitdiff
Qt4: Fix compile warning
authorPasi Kallinen <paxed@alt.org>
Mon, 10 Sep 2018 18:09:58 +0000 (21:09 +0300)
committerPasi Kallinen <paxed@alt.org>
Mon, 10 Sep 2018 18:09:58 +0000 (21:09 +0300)
win/Qt4/qt4bind.cpp

index 2fef131ceed779ab3d604ce38c8ff0fb28089f44..980c9ef9ecabc4ad5f9f24a373773a0ffe280b3b 100644 (file)
@@ -565,6 +565,8 @@ char NetHackQtBind::qt_yn_function(const char *question_, const char *choices, C
         else if (def)
             message += QString(" %1").arg(def);
        NetHackQtBind::qt_putstr(WIN_MESSAGE, ATR_BOLD, message);
+
+        return ret;
     }
 }