for (j = 0; j < 12; j++)
cave->name[j] = data[0x1f2 + j];
- g_strchomp(cave->name); /* remove spaces */
+ chompString(cave->name); /* remove spaces */
}
else
{
cave->name[i] = c;
}
- g_strchomp(cave->name);
+ chompString(cave->name);
cave->intermission = data[0x389] != 0;
cave->name[i] = c;
}
- g_strchomp(cave->name); /* remove trailing and leading spaces */
+ chompString(cave->name); /* remove trailing and leading spaces */
cave->selectable = data[14] != 0;
cave->name[i] = c;
}
- g_strchomp(cave->name); /* remove trailing and leading spaces */
+ chompString(cave->name); /* remove trailing and leading spaces */
}
/* uncompress rle data */