Corrected previous commit. Thanks to Axel for noticing

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17017 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2006-04-05 19:40:26 +00:00
parent cb8bdc4eda
commit 77e45e57aa
+1 -1
View File
@@ -616,7 +616,7 @@ BStatusBar::SetTextData(char **dest, const char *source)
*dest = NULL;
}
if (source != NULL && source != NULL)
if (source != NULL && source[0] != NULL)
*dest = strdup(source);
}