*****************************************************************************/
struct game_params {
- int h, w;
+ int w, h;
};
struct shared_state {
int completed, cheated;
};
-static const struct game_params filling_defaults[3] = {{7, 9}, {9, 13}, {13, 17}};
+static const struct game_params filling_defaults[3] = {
+ {9, 7}, {13, 9}, {17, 13}
+};
static game_params *default_params(void)
{
if (i < 0 || i >= lenof(filling_defaults)) return FALSE;
*params = snew(game_params);
**params = filling_defaults[i]; /* struct copy */
- sprintf(buf, "%dx%d", filling_defaults[i].h, filling_defaults[i].w);
+ sprintf(buf, "%dx%d", filling_defaults[i].w, filling_defaults[i].h);
*name = dupstr(buf);
return TRUE;