mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Run clang-format
This commit is contained in:
@@ -186,7 +186,8 @@ void FormatSpec::appendNumber(std::string &str, uint32_t value) const {
|
|||||||
useExact = true;
|
useExact = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (useType != 'X' && useType != 'x' && useType != 'b' && useType != 'o' && useType != 'f' && useExact)
|
if (useType != 'X' && useType != 'x' && useType != 'b' && useType != 'o' && useType != 'f'
|
||||||
|
&& useExact)
|
||||||
error("Formatting type '%c' with exact flag '#'\n", useType);
|
error("Formatting type '%c' with exact flag '#'\n", useType);
|
||||||
if (useType != 'f' && hasFrac)
|
if (useType != 'f' && hasFrac)
|
||||||
error("Formatting type '%c' with fractional width\n", useType);
|
error("Formatting type '%c' with fractional width\n", useType);
|
||||||
|
|||||||
@@ -389,7 +389,9 @@ void reverse() {
|
|||||||
palmap = readInto(options.palmap);
|
palmap = readInto(options.palmap);
|
||||||
if (palmap->size() != mapSize) {
|
if (palmap->size() != mapSize) {
|
||||||
fatal(
|
fatal(
|
||||||
"Palette map size (%zu tiles) doesn't match image size (%zu)", palmap->size(), mapSize
|
"Palette map size (%zu tiles) doesn't match image size (%zu)",
|
||||||
|
palmap->size(),
|
||||||
|
mapSize
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user