From bd99fe5d818a5417bd6fbe20e4e4af144e63fe04 Mon Sep 17 00:00:00 2001 From: Nikolas Garofil Date: Fri, 8 May 2009 14:57:19 +0200 Subject: [PATCH] Bugfix: run update_uname also without X11 --- src/conky.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conky.c b/src/conky.c index b692befd..5ad66e2a 100644 --- a/src/conky.c +++ b/src/conky.c @@ -6543,6 +6543,7 @@ static void set_default_configurations_for_x(void) static void set_default_configurations(void) { + update_uname(); fork_to_background = 0; total_run_times = 0; info.cpu_avg_samples = 2; @@ -6602,7 +6603,6 @@ static void set_default_configurations(void) window.type = TYPE_NORMAL; window.hints = 0; strcpy(window.class_name, PACKAGE_NAME); - update_uname(); sprintf(window.title, PACKAGE_NAME" (%s)", info.uname_s.nodename); #endif stippled_borders = 0;