aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2015-03-03 16:49:50 +0100
committerPierre Ossman <ossman@cendio.se>2015-03-03 16:49:50 +0100
commit63471c9de0892f32f237c97f081e14f66a2365ab (patch)
tree99d68ab3ab901fc1b993f2083e156146394111bb /vncviewer
parentcd5c82a655f74b1395f6216d722d6366edb757f0 (diff)
downloadtigervnc-63471c9de0892f32f237c97f081e14f66a2365ab.tar.gz
tigervnc-63471c9de0892f32f237c97f081e14f66a2365ab.zip
Move about text constant so the compiler can analyse it
Diffstat (limited to 'vncviewer')
-rw-r--r--vncviewer/vncviewer.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/vncviewer/vncviewer.cxx b/vncviewer/vncviewer.cxx
index 936a22a0..0b2de53e 100644
--- a/vncviewer/vncviewer.cxx
+++ b/vncviewer/vncviewer.cxx
@@ -79,10 +79,6 @@ using namespace network;
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 @@ int main(int argc, char** argv)
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);