diff options
Diffstat (limited to 'modules/computer.c')
-rw-r--r-- | modules/computer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/computer.c b/modules/computer.c index 9bb69f78..c0302a87 100644 --- a/modules/computer.c +++ b/modules/computer.c @@ -260,7 +260,7 @@ void scan_dev(gboolean reload) gchar *compiler_name; gchar *version_command; gchar *regex; - gboolean stdout; + gboolean read_stdout; } detect_lang[] = { { N_("Scripting Languages"), NULL, FALSE }, { N_("Gambas3 (gbr3)"), "gbr3 --version", "\\d+\\.\\d+\\.\\d+", TRUE }, @@ -318,7 +318,7 @@ void scan_dev(gboolean reload) continue; } - if (detect_lang[i].stdout) { + if (detect_lang[i].read_stdout) { found = hardinfo_spawn_command_line_sync(detect_lang[i].version_command, &output, &ignored, NULL, NULL); } else { found = hardinfo_spawn_command_line_sync(detect_lang[i].version_command, &ignored, &output, NULL, NULL); |