1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-26 12:27:52 +00:00

fix scan_font nonsense

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@877 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Philip Kovacs 2007-06-05 18:54:39 +00:00
parent 2c8426dcc7
commit a2cfdd4c67

View File

@ -679,7 +679,7 @@ static const char *scan_bar(const char *args, int *w, int *h)
static char *scan_font(const char *args) static char *scan_font(const char *args)
{ {
if (args && sizeof(args) < 127) { if (args && *args)
return strdup(args); return strdup(args);
} }
return NULL; return NULL;