Move about text constant so the compiler can analyse it
diff --git a/vncviewer/vncviewer.cxx b/vncviewer/vncviewer.cxx
index 936a22a..0b2de53 100644
--- a/vncviewer/vncviewer.cxx
+++ b/vncviewer/vncviewer.cxx
@@ -79,10 +79,6 @@
using namespace rfb;
using namespace std;
-static const char _aboutText[] = N_("TigerVNC Viewer %d-bit v%s\n"
- "Built on: %s\n"
- "Copyright (C) 1999-%d TigerVNC Team and many others (see README.txt)\n"
- "See http://www.tigervnc.org for information on TigerVNC.");
static char aboutText[1024];
char vncServerName[VNCSERVERNAMELEN] = { '\0' };
@@ -382,7 +378,11 @@
textdomain(PACKAGE_NAME);
// Generate the about string now that we get the proper translation
- snprintf(aboutText, sizeof(aboutText), _aboutText,
+ snprintf(aboutText, sizeof(aboutText),
+ _("TigerVNC Viewer %d-bit v%s\n"
+ "Built on: %s\n"
+ "Copyright (C) 1999-%d TigerVNC Team and many others (see README.txt)\n"
+ "See http://www.tigervnc.org for information on TigerVNC."),
(int)sizeof(size_t)*8, PACKAGE_VERSION,
BUILD_TIMESTAMP, 2015);