Commit 31dfc85f authored by Manish Singh's avatar Manish Singh Committed by Manish Singh
Browse files

eat CRs too, since they might be there on Win32 systems.

2005-06-25  Manish Singh  <yosh@gimp.org>

        * app/core/gimpinterpreterdb.c: eat CRs too, since they might be
        there on Win32 systems.
parent 992bdbe8
2005-06-25 Manish Singh <yosh@gimp.org>
* app/core/gimpinterpreterdb.c: eat CRs too, since they might be
there on Win32 systems.
2005-06-25 Manish Singh <yosh@gimp.org>
* configure.in: introduce a notion of runtime path to the python
......
......@@ -666,7 +666,7 @@ resolve_sh_bang (GimpInterpreterDB *db,
while (cp > buffer)
{
cp--;
if ((*cp == ' ') || (*cp == '\t'))
if ((*cp == ' ') || (*cp == '\t') || (*cp == '\r'))
*cp = '\0';
else
break;
......
......@@ -666,7 +666,7 @@ resolve_sh_bang (GimpInterpreterDB *db,
while (cp > buffer)
{
cp--;
if ((*cp == ' ') || (*cp == '\t'))
if ((*cp == ' ') || (*cp == '\t') || (*cp == '\r'))
*cp = '\0';
else
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment