From 86385007dea22ff5ce2d937be9fb8b223737ff9e Mon Sep 17 00:00:00 2001 From: SarahW Date: Wed, 19 Apr 2017 13:06:16 +0100 Subject: [PATCH] Changed set_window_title() and hline() prototypes to match Allegro. --- src/ibm.h | 2 +- src/video.h | 2 +- src/win-video.c | 2 +- src/win.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ibm.h b/src/ibm.h index 8b997f9..ff081b4 100644 --- a/src/ibm.h +++ b/src/ibm.h @@ -547,7 +547,7 @@ void get_executable_name(char *s, int size); void startblit(); void endblit(); -void set_window_title(char *s); +void set_window_title(const char *s); void updatewindowsize(int x, int y); diff --git a/src/video.h b/src/video.h index cce4a02..6d71cb5 100644 --- a/src/video.h +++ b/src/video.h @@ -92,6 +92,6 @@ void closevideo(); void video_updatetiming(); -void hline(BITMAP *b, int x1, int y, int x2, uint32_t col); +void hline(BITMAP *b, int x1, int y, int x2, int col); void destroy_bitmap(BITMAP *b); diff --git a/src/win-video.c b/src/win-video.c index ce763b2..2228481 100644 --- a/src/win-video.c +++ b/src/win-video.c @@ -5,7 +5,7 @@ BITMAP *screen; -void hline(BITMAP *b, int x1, int y, int x2, uint32_t col) +void hline(BITMAP *b, int x1, int y, int x2, int col) { if (y < 0 || y >= buffer->h) return; diff --git a/src/win.c b/src/win.c index 7129420..bd4b865 100644 --- a/src/win.c +++ b/src/win.c @@ -307,7 +307,7 @@ void get_executable_name(char *s, int size) GetModuleFileName(hinstance, s, size); } -void set_window_title(char *s) +void set_window_title(const char *s) { if (video_fullscreen) return;