mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
common/buf: rename buf->buf to buf->data
This commit is contained in:
parent
fccc6a2922
commit
a8f98cb90b
10 changed files with 33 additions and 33 deletions
|
|
@ -1107,7 +1107,7 @@ xml_tree_walk(xmlNode *node)
|
|||
void
|
||||
rcxml_parse_xml(struct buf *b)
|
||||
{
|
||||
xmlDoc *d = xmlParseMemory(b->buf, b->len);
|
||||
xmlDoc *d = xmlParseMemory(b->data, b->len);
|
||||
if (!d) {
|
||||
wlr_log(WLR_ERROR, "error parsing config file");
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ process_line(char *line)
|
|||
buf_add(&value, string_strip(++p));
|
||||
buf_expand_shell_variables(&value);
|
||||
buf_expand_tilde(&value);
|
||||
setenv(key, value.buf, 1);
|
||||
setenv(key, value.data, 1);
|
||||
buf_reset(&value);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue