Previous 15994 Revisions Next

r2759 Wednesday 28th May, 2008 at 23:29:45 UTC by Robbbert
Reverted a mistake.
[src/mess/tools/imgtool]imgtool.c

src/mess/tools/imgtool/imgtool.c
r2758r2759
25242524   {
25252525      /* append a path */
25262526      if ((strlen(path1) > 0) && (path1[strlen(path1) - 1] != path_separator))
2527         snprintf(buffer, buffer_len, "%s%c%s%c", path1, path_separator, path2, path_separator);
2527         snprintf(buffer, buffer_len, "%s%c%s", path1, path_separator, path2);
25282528      else
2529         snprintf(buffer, buffer_len, "%s%s%c", path1, path2, path_separator);
2529         snprintf(buffer, buffer_len, "%s%s", path1, path2);
25302530   }
25312531   return buffer;
25322532}

Previous 15994 Revisions Next


© 1998-2018 The MESS Team