all repos — fluxbox @ d78a4ac9a983e6ef20e3ddc97af50a963e35c54d

custom fork of the fluxbox windowmanager

minor fix
fluxgen fluxgen
commit

d78a4ac9a983e6ef20e3ddc97af50a963e35c54d

parent

08ae57e646e0b165f59e4988de2ae84ea74713d5

2 files changed, 4 insertions(+), 3 deletions(-)

jump to
M nls/C/Makefile.amnls/C/Makefile.am

@@ -43,6 +43,7 @@ echo -e "namespace FBNLS {" >> ../blackbox-nls.hh; \

echo -e "enum {" >> ../blackbox-nls.hh; \ awk -f ../convert.awk header=../blackbox-nls.hh \ output=Translation.m $(MFILES); \ + echo -e " dummy_not_used = 0 //just for the ending" >> ../blackbox-nls.hh; \ echo -e "}; //end enum\n" >> ../blackbox-nls.hh; \ echo -e "}; //end namespace\n" >> ../blackbox-nls.hh; \ echo -e "#endif //BLACKBOX_NLS_HH\n" >> ../blackbox-nls.hh; \
M nls/convert.awknls/convert.awk

@@ -4,13 +4,13 @@ minor = 0

if (major > 1) printf "\n" > output - printf "$set %d %s\n", major, $3 > output + printf "$set %d %s\n", major, $3 >> output if (header) { majorName = substr($3, 2) if (major > 1) printf "\n" > header - printf "#define %sSet %#x\n", majorName, major > header + printf "\t%sSet = %#x,\n", majorName, major >> header } }

@@ -19,7 +19,7 @@ minor++

if (header) { minorName = substr($2, 2) - printf "#define %s%s %#x\n", majorName, minorName, minor > header + printf "\t%s%s = %#x,\n", majorName, minorName, minor >> header } }