l = i = 0;
- // RGB
+ /* RGB */
if (**strp == '#') r = strtol(++*strp, strp, 16);
- // Color names
+ /* Color names */
else for (; i < numcolors; ++i) {
name = colors[i].name;
l = strlen(name);
unsigned int *colors, color, *pixels;
int i, mode, j, k, m;
- // Values
+ /* Values */
p = data[0];
width = strtol(p, &p, 10);
height = strtol(p, &p, 10);
return;
}
- // Colors
+ /* Colors */
chars = allocate(ncolors * cpp * sizeof*chars);
colors = allocate(NUMMODES * ncolors * sizeof*colors);
for (i = 0; i < ncolors; ++i) {
}
}
- // Pixels
+ /* Pixels */
pixels = allocate(NUMMODES * height * width * sizeof*pixels);
j = width;
l = 0;
goto close;
}
- if ((p = strnsub(map, "char", l)) == NULL) { // Skip "static" keyword
+ if ((p = strnsub(map, "char", l)) == NULL) { /* Skip "static" keyword */
warnx("`%s' improperly formatted", xpm);
goto munmap;
}