Second batch of correction to lower the number of GCC warnings

This commit is contained in:
Hombre
2010-08-30 01:07:43 +02:00
parent 02dac0425d
commit 76285ea74d
20 changed files with 288 additions and 282 deletions

View File

@@ -31,21 +31,21 @@ struct ZoomStep {
int czoom;
};
ZoomStep zoomSteps[] = {"10%", 0.1, 10,
"12.5%", 0.125, 8,
"16.6%", 1.0/6.0, 6,
"20%", 0.2, 5,
"25%", 0.25, 4,
"33%", 1.0/3.0, 3,
"50%", 0.5, 2,
"100%", 1.0, 1000,
"200%", 2.0, 2000,
"300%", 3.0, 3000,
"400%", 4.0, 4000,
"500%", 5.0, 5000,
"600%", 6.0, 6000,
"700%", 7.0, 7000,
"800%", 8.0, 8000};
ZoomStep zoomSteps[] = {{"10%", 0.1, 10},
{"12.5%", 0.125, 8},
{"16.6%", 1.0/6.0, 6},
{"20%", 0.2, 5},
{"25%", 0.25, 4},
{"33%", 1.0/3.0, 3},
{"50%", 0.5, 2},
{"100%", 1.0, 1000},
{"200%", 2.0, 2000},
{"300%", 3.0, 3000},
{"400%", 4.0, 4000},
{"500%", 5.0, 5000},
{"600%", 6.0, 6000},
{"700%", 7.0, 7000},
{"800%", 8.0, 8000}};
#define MAXZOOMSTEPS 14
#define ZOOM11INDEX 7