summaryrefslogtreecommitdiff
path: root/apps/plugins/chessbox
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/chessbox')
-rw-r--r--apps/plugins/chessbox/chessbox_pgn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugins/chessbox/chessbox_pgn.c b/apps/plugins/chessbox/chessbox_pgn.c
index 9e9656207b..1aff214332 100644
--- a/apps/plugins/chessbox/chessbox_pgn.c
+++ b/apps/plugins/chessbox/chessbox_pgn.c
@@ -51,6 +51,7 @@ void *pl_malloc(ssize_t size)
51 else 51 else
52 { 52 {
53 bufptr += size; 53 bufptr += size;
54 bufleft -= size;
54 return ptr; 55 return ptr;
55 } 56 }
56} 57}