Add const to example/imageviewer zooms variable

This commit is contained in:
Nigel Tao committed 2021-10-04 09:33:33 +11:00
1 parent 8eaa222592
commit 7753368324
1 file changed
+1 -1
+1 -1
View File
@@ -215,7 +215,7 @@ make_window(xcb_connection_t* c, xcb_screen_t* s) {
void //
apply_zoom_and_filter(xcb_connection_t* c) {
static xcb_render_fixed_t zooms[NUM_ZOOMS] = {
static const xcb_render_fixed_t zooms[NUM_ZOOMS] = {
0x10000, // 1/1 as 16.16 fixed point
0x08000, // 1/2
0x04000, // 1/4