Fixed all instances of the usage of wcstombs to use a sizeof() of whatever the destination is instead of the source size.

This commit is contained in:
OBattler
2017-07-20 11:32:41 +02:00
parent b18f16c4bc
commit 3e195b74d0
5 changed files with 11 additions and 10 deletions

View File

@@ -132,6 +132,7 @@ endif
ifeq ($(WALTJE), y)
OPENDIR = win_opendir.o
SERIAL = serial.o
WSERIAL = win_serial.o
WFLAGS = -DWALTJE
@@ -241,7 +242,7 @@ VIDOBJ = video.o \
WINOBJ = win.o \
win_ddraw.o win_ddraw_fs.o win_ddraw_screenshot.o \
win_d3d.o win_d3d_fs.o \
win_language.o win_status.o win_opendir.o win_dynld.o \
win_language.o win_status.o $(OPENDIR) win_dynld.o \
win_video.o $(WSERIAL) win_keyboard.o win_mouse.o \
win_iodev.o win_joystick.o win_midi.o \
win_settings.o win_deviceconfig.o win_joystickconfig.o \