comparison src/device-msw.c @ 576:6db80f4ab17c

[xemacs-hg @ 2001-05-25 05:42:25 by martinb] Cleaning up after error-frobbing patch: More compiler warnings/errors
author martinb
date Fri, 25 May 2001 05:42:26 +0000
parents 183866b06e0b
children 190b164ddcac
comparison
equal deleted inserted replaced
575:d5e8f5ad5043 576:6db80f4ab17c
402 402
403 Lisp_Object 403 Lisp_Object
404 msprinter_default_printer (void) 404 msprinter_default_printer (void)
405 { 405 {
406 Extbyte name[666]; 406 Extbyte name[666];
407 Bufbyte *nameint; 407 char *nameint;
408 408
409 if (GetProfileString (XETEXT ("windows"), XETEXT ("device"), NULL, name, 409 if (GetProfileString (XETEXT ("windows"), XETEXT ("device"), NULL, name,
410 sizeof (name) / XETCHAR_SIZE) <= 0) 410 sizeof (name) / XETCHAR_SIZE) <= 0)
411 return Qnil; 411 return Qnil;
412 EXTERNAL_TO_C_STRING (name, nameint, Qmswindows_tstr); 412 EXTERNAL_TO_C_STRING (name, nameint, Qmswindows_tstr);