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:
parent
cb8bdc4eda
commit
77e45e57aa
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user