/[groff]/groff/src/libs/libgroff/relocate.cpp
ViewVC logotype

Diff of /groff/src/libs/libgroff/relocate.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by wl, Sat Apr 30 07:03:14 2005 UTC revision 1.3 by wl, Tue May 3 20:00:54 2005 UTC
# Line 167  void set_current_prefix() Line 167  void set_current_prefix()
167    // using GetModuleFileName on MS-Windows,    // using GetModuleFileName on MS-Windows,
168    // and searching along PATH on other systems.    // and searching along PATH on other systems.
169  #ifdef _WIN32  #ifdef _WIN32
170    int len = GetModuleFileName(0, curr_prefix, MAX_PATH);    int len = GetModuleFileName(0, curr_prefix, path_name_max());
171    if (len)    if (len)
172      len = GetShortPathName(curr_prefix, curr_prefix, MAX_PATH);      len = GetShortPathName(curr_prefix, curr_prefix, path_name_max());
173  # if DEBUG  # if DEBUG
174    fprintf(stderr, "curr_prefix: %s\n", curr_prefix);    fprintf(stderr, "curr_prefix: %s\n", curr_prefix);
175  # endif /* DEBUG */  # endif /* DEBUG */

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26