mobley

C Git HTTP server
Log | Files | Refs | Submodules | README | git clone https://git.ne02ptzero.me/git/mobley

commit c3934bbb3818aa470466fb2742ee0c90f181fd25
parent f965bc5948d8d5aba543b173e74a06fe97a46a31
Author: Louis Solofrizzo <lsolofrizzo@online.net>
Date:   Wed, 30 Jan 2019 13:25:30 +0100

Watm: Replace ' ' padding with \0 for source-highlight

Signed-off-by: Louis Solofrizzo <lsolofrizzo@online.net>

Diffstat:
Mwatm/shl-wrapper-lib.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/watm/shl-wrapper-lib.cpp b/watm/shl-wrapper-lib.cpp @@ -31,7 +31,7 @@ extern "C" bool source_highlight_init(const char *data_dir, const char *outlang, ctx->setDataDir(data_dir); ctx->setGenerateLineNumbers(true); ctx->setGenerateLineNumberRefs(true); - ctx->setLineNumberPad(' '); + ctx->setLineNumberPad(0); return true; }