mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
CodeStyle
This commit is contained in:
parent
e0264e471c
commit
d9cef42721
5 changed files with 16 additions and 8 deletions
|
|
@ -22,8 +22,9 @@ nodename(xmlNode *node, char *buf, int len)
|
|||
char c;
|
||||
while ((c = *name++) != 0) {
|
||||
*p++ = tolower(c);
|
||||
if (!--len)
|
||||
if (!--len) {
|
||||
return buf;
|
||||
}
|
||||
}
|
||||
*p = 0;
|
||||
node = node->parent;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue