1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-16 02:58:05 +00:00

Remove extraneous semicolons to quiet pedantic GCC warnings.

This commit is contained in:
Arthur O'Dwyer
2020-02-22 20:51:27 -05:00
parent 14d2237c01
commit a0da10b408
18 changed files with 26 additions and 26 deletions

View File

@@ -37,7 +37,7 @@ EX namespace dialog {
bool positive;
};
static inline ld identity_f(ld x) { return x; };
static inline ld identity_f(ld x) { return x; }
const static scaler identity = {identity_f, identity_f, false};
const static scaler logarithmic = {log, exp, true};
@@ -100,7 +100,7 @@ EX namespace dialog {
if(clicked) hr::displayfr(x * zoomf + shiftx, y * zoomf + shifty, b, size * zoomf, s, hicolor, align);
return clicked;
}
EX };
EX }
#if CAP_MENUSCALING && CAP_SDL
EX void handleZooming(SDL_Event &ev) {
@@ -142,7 +142,7 @@ EX namespace dialog {
EX void handler(int sym, int uni) {
dialog::handleNavigation(sym, uni);
if(doexiton(sym, uni)) popScreen();
};
}
EX void init() {
items.clear();
@@ -1268,6 +1268,6 @@ EX namespace dialog {
}
#endif
};
}
}