comparison src/glyphs-shared.c @ 4834:b3ea9c582280

Use new cygwin_conv_path API with Cygwin 1.7 for converting names between Win32 and POSIX, UTF-8-aware, with attendant changes elsewhere
author Ben Wing <ben@xemacs.org>
date Tue, 12 Jan 2010 01:38:04 -0600
parents 9b4442ac18c7
children 308d34e9f07d
comparison
equal deleted inserted replaced
4833:4dd2389173fc 4834:b3ea9c582280
326 { 326 {
327 FILE *fstream; 327 FILE *fstream;
328 int status; 328 int status;
329 Extbyte *fileext; 329 Extbyte *fileext;
330 330
331 LISP_STRING_TO_EXTERNAL (filename, fileext, Qnative); 331 LISP_PATHNAME_CONVERT_OUT (filename, fileext);
332 if ((fstream = fopen (fileext, "r")) == NULL) 332 if ((fstream = fopen (fileext, "r")) == NULL)
333 return BitmapOpenFailed; 333 return BitmapOpenFailed;
334 status = read_bitmap_data (fstream, width, height, datap, x_hot, y_hot); 334 status = read_bitmap_data (fstream, width, height, datap, x_hot, y_hot);
335 retry_fclose (fstream); 335 retry_fclose (fstream);
336 return status; 336 return status;