On Mon, May 27, 2013 at 11:44 AM, Stephan Beal <sgb...@googlemail.com>wrote:

> On Mon, May 27, 2013 at 5:37 PM, Isaac Jurado <dipto...@gmail.com> wrote:
>
>> P.S: Apparently, the command line timeline also joins all the message
>> into a single line.  I still have to look through the code to see if
>> it's done at commit/import time or just at rendering.
>>
>
> It's done in src/comformat.c:comment_print(). It appears to collapse
> whitespace just like a browser does, basically. i think i might have
> accidentally found a bug, though:
>
>     if( doIndent ){
>       fossil_print("%*s", indent, "");
>     }
>
> should that "%*s" be "%.*s"? i've never seen "%*s" before. (Anyone who
> knows what i'm talking about there, feel free to answer!)
>

The "fossil_print("%*s", indent, "")" statement prints out indent
characters of white space.


>
> --
> ----- stephan beal
> http://wanderinghorse.net/home/stephan/
> http://gplus.to/sgbeal
>
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
>


-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to