mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-08-13 08:01:40 +01:00
Merge pull request #1106 from NeroOneTrueKing/patch-fix-ssuffix
Fix ssuffix buffer management
This commit is contained in:
commit
9dc615292d
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ s_suffix(s) /* return a name converted to possessive */
|
|||
const char *s;
|
||||
{
|
||||
#define SSUFFIX_BUFFERS 3
|
||||
Static char buf[BUFSZ][SSUFFIX_BUFFERS];
|
||||
Static char buf[SSUFFIX_BUFFERS][BUFSZ];
|
||||
static int i = 0;
|
||||
i = (i + 1) % SSUFFIX_BUFFERS;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue