
Hi,
I noticed you changed:
FileName = &FileName[5]
to
FileName += 5
I realise on some bad C compilers the second one may be more
efficient, but the first has the advantage that when converting from
ASCII to Unicode it still works, whereas the second one corrupts the
string. Because of this, I always write using the first one.
Thanks
Neil
On 10/4/05, Ross Paterson
ross 2005/10/04 08:26:38 PDT
Modified files: src errors.c script.c src/winhugs General.c IORemap.c Winhugs.h Log: from Neil Mitchell: Factor out printing of filename links for WinHugs, and also abbreviate them using {Hugs} or ., expanding them again in editor loading.
Revision Changes Path 1.9 +2 -9 hugs98/src/errors.c 1.16 +1 -3 hugs98/src/script.c 1.2 +12 -1 hugs98/src/winhugs/General.c 1.4 +35 -6 hugs98/src/winhugs/IORemap.c 1.16 +1 -0 hugs98/src/winhugs/Winhugs.h _______________________________________________ Cvs-hugs mailing list Cvs-hugs@haskell.org http://www.haskell.org/mailman/listinfo/cvs-hugs