Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72c6d68
)
ecere/gui/Anchor: Fixed stringification on empty anchor
author
Jerome St-Louis
<jerome@ecere.com>
Sun, 13 Jul 2014 05:40:55 +0000
(
01:40
-0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Sun, 13 Jul 2014 05:40:55 +0000
(
01:40
-0400)
ecere/src/gui/Anchor.ec
patch
|
blob
|
history
diff --git
a/ecere/src/gui/Anchor.ec
b/ecere/src/gui/Anchor.ec
index
4d94847
..
a226752
100644
(file)
--- a/
ecere/src/gui/Anchor.ec
+++ b/
ecere/src/gui/Anchor.ec
@@
-182,6
+182,7
@@
public struct Anchor
const char * anchorValue;
bool subNeedClass;
+ stringOutput[0] = 0;
tempString[0] = '\0';
anchorValue = left.OnGetString(tempString, null, &subNeedClass);
if(anchorValue[0]) { if(stringOutput[0]) strcat(stringOutput, ", "); strcat(stringOutput, "left = "); strcat(stringOutput, anchorValue); }