[misc] fix WDK compilation

This commit is contained in:
Pete Batard 2015-10-22 23:20:50 +01:00
parent a5de551d98
commit 621d1cae16
4 changed files with 17 additions and 14 deletions

View file

@ -381,9 +381,10 @@ char* lmprintf(uint32_t msg_id, ...)
static char buf[LOC_MESSAGE_NB][LOC_MESSAGE_SIZE];
char *format = NULL;
va_list args;
BOOL needs_rtf_rtl_marks = (msg_id & MSG_RTF) && right_to_left_mode;
buf_id %= LOC_MESSAGE_NB;
buf[buf_id][0] = 0;
BOOL needs_rtf_rtl_marks = (msg_id & MSG_RTF) && right_to_left_mode;
msg_id &= MSG_MASK;
if ((msg_id > MSG_000) && (msg_id < MSG_MAX)) {