aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormckaygerhard <mckaygerhard@gmail.com>2016-02-02 16:19:50 -0430
committermckaygerhard <mckaygerhard@gmail.com>2016-02-02 16:19:50 -0430
commit76ec9b8bd9c868eba06e5eea5b908982f3426fa3 (patch)
tree78204b6ec97bfc036d40afa76e87739ae3d35c85
parent515e53b4faba2e164c900f389bc75b0384eb8ee9 (diff)
fix null vendor in display and null version, the strings in get_srt must be translated AFTER getting and putting in pointers
-rw-r--r--modules/computer/display.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/computer/display.c b/modules/computer/display.c
index d68345c6..2c98b144 100644
--- a/modules/computer/display.c
+++ b/modules/computer/display.c
@@ -80,9 +80,9 @@ get_x11_info(DisplayInfo *di)
if (tmp[1] && tmp[0]) {
tmp[1] = g_strchug(tmp[1]);
- get_str(_("vendor string"), di->vendor);
- get_str(_("X.Org version"), di->version);
- get_str(_("XFree86 version"), di->version);
+ get_str("vendor string", di->vendor);
+ get_str("X.Org version", di->version);
+ get_str("XFree86 version", di->version);
if (g_str_has_prefix(tmp[0], "number of extensions")) {
int n;