summaryrefslogtreecommitdiff
path: root/sirtet.c
diff options
context:
space:
mode:
Diffstat (limited to 'sirtet.c')
-rw-r--r--sirtet.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sirtet.c b/sirtet.c
index aa37feb..9a2ef69 100644
--- a/sirtet.c
+++ b/sirtet.c
@@ -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;