common/buf: rename buf->buf to buf->data

This commit is contained in:
John Lindgren 2024-04-16 23:36:32 -04:00 committed by Johan Malm
parent fccc6a2922
commit a8f98cb90b
10 changed files with 33 additions and 33 deletions

View file

@ -112,7 +112,7 @@ find_dir(struct ctx *ctx)
* .default_prefix in the same way.
*/
gchar * *prefixes;
prefixes = g_strsplit(prefix.buf, ":", -1);
prefixes = g_strsplit(prefix.data, ":", -1);
for (gchar * *p = prefixes; *p; p++) {
ctx->build_path_fn(ctx, *p, d.path);
if (debug) {