HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] Coverpage: BreakIntoLines and WHFC



On Sun, 04 Aug 2002 21:42:20 +0200, Giulio Orsero <giulioo@pobox.com> wrote:

>The whfc code is gpl so that you could tell me "change the code and make it
>chage <cr> into space (instead of <lf> into space as it does)"
>    s = Replace(stdsettings.Comments,'\n',' ');
>    fprintf(filepr,"/comments (%s) %s\n",s,def);
>the problem is I don't have win development system :)

I used compaq testdrive to compile whfc on their w2k server.
changed in FaxClient.cpp
    s = Replace(stdsettings.Comments,'\n',' ');
to
    s = Replace(stdsettings.Comments,'\r',' ');
and now it works as expected (lines properly aligned).

-- 
giulioo@pobox.com

____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*




Project hosted by iFAX Solutions