Comment 3 for bug 1388148

Revision history for this message
Andre Barros (andrecbarros) wrote :

One last advice, the second patch was created with only unix/linux in mind. It needs some adjustments to work with windows on, at least 2 points:
1) because windows use \r\n
- if (pos[-1] == '\n' && pos[i] == '\n')
+ if (iscntrl (pos[-1]) && iscntrl (pos[i]))

2) because I am not aware of how inkscape looks for files on windows
- char * home_dir = getenv ("HOME");
- const char * user_config_dir = "/.config/inkscape/",
+ char * home_dir = ".\\";
+ const char * user_config_dir = "\\where is inkscape config\\",