fixed segfault

git-svn-id: http://tint2.googlecode.com/svn/trunk@168 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
lorthiois@bbsoft.fr
2009-09-01 15:56:52 +00:00
parent a62548bf29
commit a17b62f76f
6 changed files with 32 additions and 25 deletions

View File

@@ -348,7 +348,7 @@ void add_entry (char *key, char *value)
panel_config->battery.area.on_screen = 1;
#else
if(atoi(value) == 1)
printf("tint2 is build without battery support\n");
fprintf(stderr, "tint2 is build without battery support\n");
#endif
}
else if (strcmp (key, "battery_low_status") == 0) {