Scope-eye.net Git Repository
/
liskon_frotz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5172443
)
Backed off vsnprintf() to vsprintf() because Turbo C doesn't do the former.
author
David Griffith
<dave@661.org>
Fri, 26 May 2023 01:46:53 +0000
(18:46 -0700)
committer
David Griffith
<dave@661.org>
Fri, 26 May 2023 02:50:48 +0000
(19:50 -0700)
Given this is DOS, using vsprintf() like this should be fine.
src/dos/dosinit.c
patch
|
blob
|
history
diff --git
a/src/dos/dosinit.c
b/src/dos/dosinit.c
index 26213904ea954e26dcd286cb949d0400fd0b8cd6..7b6fc3fc8e78f5504fb8426579042343b4f240f5 100644
(file)
--- a/
src/dos/dosinit.c
+++ b/
src/dos/dosinit.c
@@
-262,7
+262,7
@@
void os_warn (const char *s, ...)
int style;
va_start(m, s);
- vs
nprintf(errorstring, sizeof(char) * 80
, s, m);
+ vs
printf(errorstring
, s, m);
va_end(m);
os_beep(BEEP_HIGH);