Re: [fltk/fltk] fl_filename_absolute mishandles double-backslash on Windows (#141)

GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.issues  ]
Previous Message ]New Message | Reply ]Next Message ]

Re: [fltk/fltk] fl_filename_absolute mishandles double-backslash on Windows (#141) Albrecht Schlosser 01:39 Sep 19 top right image

... under the Windows API there's the GetFullPathNameA() function.

@erco77 Just commenting on this tiny part: please keep in mind that we need to use GetFullPathNameW(), i.e. the "wide character" version with path names converted from UTF-8 to "Windows wide chars" and vice versa. This applies to all other file handling functions as well.

@fire-eggs Thanks for the patches and the demo program.

... git diff files. I hope I've done it right ...

I believe the patches can be applied (didn't test though). Hint: if you edit directly in the Git working directory you can just run git diff or (if you want to restrict the diff to only certain files) git diff -- <list of files or subdirs>.

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Direct Link to Message ]
bottom left image   bottom right image
Previous Message ]New Message | Reply ]Next Message ]

Comments are owned by the poster. All other content is copyright 1998-2020 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to ''.