~l3kn/quad

f07872ac6bcc156d2105b04fcbb416dfebc3b976 — Leon Rische 6 months ago bf42aaf
fix typo
1 files changed, 2 insertions(+), 2 deletions(-)

M quad.c
M quad.c => quad.c +2 -2
@@ 176,7 176,7 @@ void handleMouse(SDL_Event* event) {
    int my = (y - MENU_Y);
    int tx = mx / TILE_SIZE;
    int ty = my / TILE_SIZE;
    site_t index = (ty / HEDIT) * 2 + (tx / WEDIT);
    size_t index = (ty / HEDIT) * 2 + (tx / WEDIT);
    int rx = tx % WEDIT;
    int ry = ty % HEDIT;



@@ 217,7 217,7 @@ void printRules() {
  }
}

int main(int argc, char* argv[]) {
int main(void) {
  if (SDL_Init(SDL_INIT_VIDEO) != 0) {
    printf("error initializing SDL: %s\n", SDL_GetError());
    return 1;