c) How can I pass from "Unable to open the temporary file." to "Unable
to open temporary file <%s>"? E.g. from /display/d.text.freetype/main.c:

tmpfile = G_tempfile();
       if(!(fp = fopen(tmpfile, "w")))
           error(_("Unable to write the temporary file"));


Do this:
        tmpfile = G_tempfile();
        if(!(fp = fopen(tmpfile, "w")))
            error(_("Unable to write temporary file <%s>"), tempfile);

--Wolf


I have done some changes as suggested in /display/d.text, d.text.new and d.title ("Unable to open the temporary file." to "Unable to open temporary file <%s>". Despite they compile without problems for me, could anyone check they are right? :-\
Greetings
Carlos

_______________________________________________
grass-dev mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grass-dev

Reply via email to