summaryrefslogtreecommitdiff
path: root/src/game/g_buildable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_buildable.c')
-rw-r--r--src/game/g_buildable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c
index 1737b73c..7d02ec15 100644
--- a/src/game/g_buildable.c
+++ b/src/game/g_buildable.c
@@ -3410,7 +3410,7 @@ int G_LayoutList( const char *map, char *list, int len )
count, numFiles, map );
}
Q_strncpyz( list, layouts, len );
- return count;
+ return count + 1;
}
/*