From mboxrd@z Thu Jan 1 00:00:00 1970 From: list at eworm.de (Christian Hesse) Date: Thu, 17 Apr 2014 15:21:48 +0200 Subject: [PATCH 1/1] about: return images in plain mode In-Reply-To: <1397740764-32681-1-git-send-email-mail@eworm.de> References: <20140417141439.3b4043c4@leda.localdomain> <1397740764-32681-1-git-send-email-mail@eworm.de> Message-ID: <20140417152148.461bbf07@leda.localdomain> Christian Hesse on Thu, 2014/04/17 15:19: > --- > cgit.h | 2 ++ > cmd.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++++---- > shared.c | 41 +++++++++++++++++++++++++++++++++++++++++ > ui-plain.c | 40 ---------------------------------------- > 4 files changed, 91 insertions(+), 44 deletions(-) This is a bit quick and dirty, but it works. Are you fine with something like this if we polish it a bit? BTW, this solution fixes images for static html as well, so definitely the way to go I think. -- main(a){char*c=/* Schoene Gruesse */"B?IJj;MEH" "CX:;",b;for(a/* Chris get my mail address: */=0;b=c[a++];) putchar(b-1/(/* gcc -o sig sig.c && ./sig */b/42*2-3)*42);} -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: not available URL: