From 02f4c007e3ac63e645165c74a8db8bf3e7af6be0 Mon Sep 17 00:00:00 2001 From: Kp Date: Sun, 8 Dec 2013 21:58:59 +0000 Subject: [PATCH] Make scores_handler fades[] static const --- similar/main/scores.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/similar/main/scores.cpp b/similar/main/scores.cpp index 62d51903d..5518068b5 100644 --- a/similar/main/scores.cpp +++ b/similar/main/scores.cpp @@ -347,7 +347,7 @@ static int scores_handler(window *wind, d_event *event, scores_menu *menu) { int i; int k; - sbyte fades[64] = { 1,1,1,2,2,3,4,4,5,6,8,9,10,12,13,15,16,17,19,20,22,23,24,26,27,28,28,29,30,30,31,31,31,31,31,30,30,29,28,28,27,26,24,23,22,20,19,17,16,15,13,12,10,9,8,6,5,4,4,3,2,2,1,1 }; + static const sbyte fades[64] = { 1,1,1,2,2,3,4,4,5,6,8,9,10,12,13,15,16,17,19,20,22,23,24,26,27,28,28,29,30,30,31,31,31,31,31,30,30,29,28,28,27,26,24,23,22,20,19,17,16,15,13,12,10,9,8,6,5,4,4,3,2,2,1,1 }; int w = FSPACX(290), h = FSPACY(170); switch (event->type)