diff --git a/CMakeLists.txt b/CMakeLists.txt index 9101990..e1c3ed9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.20) -project(prozgui VERSION 2.3.0 LANGUAGES C CXX) +project(prozgui VERSION 2.3.1 LANGUAGES C CXX) include(GNUInstallDirs) find_package(Threads REQUIRED) diff --git a/src/download_win.cpp b/src/download_win.cpp index f5391e9..62d380c 100644 --- a/src/download_win.cpp +++ b/src/download_win.cpp @@ -41,7 +41,7 @@ void cb_dl_window(Fl_Window * widget, void *) if (dl_window->status != DL_IDLING) { - if (fl_ask(_("Are you Sure You want to quit?")) == 1) + if (fl_choice(_("Are you Sure You want to quit?"), _("No"), _("Yes"), 0) == 1) { dl_window->cleanup(FALSE); } diff --git a/src/ftpsearch_win.cpp b/src/ftpsearch_win.cpp index 0362a1b..c471f89 100644 --- a/src/ftpsearch_win.cpp +++ b/src/ftpsearch_win.cpp @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include "main.h" #include "ftpsearch_win.h" diff --git a/src/main.h b/src/main.h index a148b7c..a2139e2 100644 --- a/src/main.h +++ b/src/main.h @@ -8,8 +8,12 @@ /* Gettext */ #include +#ifndef _ #define _(String) dgettext (PACKAGE,String) +#endif +#ifndef gettext_noop #define gettext_noop(String) (String) +#endif #ifndef HAVE_GNOME #define N_(String) gettext_noop (String) #endif