Mercurial > vim
view runtime/macros/maze/mazeansi.c @ 16289:b4c7e026685c v8.1.1149
patch 8.1.1149: building desktop files fails with older msgfmt
commit https://github.com/vim/vim/commit/26096cc96fc402db45948b3b662a380281585649
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Apr 11 15:25:40 2019 +0200
patch 8.1.1149: building desktop files fails with older msgfmt
Problem: Building desktop files fails with older msgfmt.
Solution: Add autoconf check. Avoid always building the desktop files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 11 Apr 2019 15:30:03 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
char*M,A,Z,E=40,J[80],T[3];main(C){for(M=J+E,*J=A=scanf("%d",& C) ;-- E;J [E ]=M [E ]= E) printf("._"); for(;(A-=Z=!Z) || (printf("\n|" ) , A = 39 ,C -- ) ; Z || printf (T ))T[Z]=Z[A-(E =A[J-Z])&&!C & A == M[ A] |6<<27<rand()||!C&!Z?J[M[E]=M[A]]=E,J[M[A]=A-Z]=A,"_.":" |"];}