diff options
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | sirtet.c | 8 |
2 files changed, 5 insertions, 5 deletions
@@ -53,7 +53,7 @@ optional arguments: $ ./sirtet -h [height] -w [width] -p [pieces] -The minimum value is 4 for height and width, and 1 for piece. Default +The minimum value is 5 for height and width, and 1 for piece. Default values are 8, 8, and 3. ---------------------------------- UI ---------------------------------- @@ -259,15 +259,15 @@ int main(int argc, char *argv[]) { switch (opt) { case 'h': sscanf(optarg, "%d", &H); - if (H < 4) { - printf("Map height cannot be less than 4\n"); + if (H < 5) { + printf("Map height cannot be less than 5\n"); return 1; } break; case 'w': sscanf(optarg, "%d", &W); - if (W < 4) { - printf("Map width cannot be less than 4\n"); + if (W < 5) { + printf("Map width cannot be less than 5\n"); return 1; } break; |