aboutsummaryrefslogtreecommitdiff
path: root/nls/convert.awk
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-04-04 18:20:33 (GMT)
committerfluxgen <fluxgen>2002-04-04 18:20:33 (GMT)
commitd78a4ac9a983e6ef20e3ddc97af50a963e35c54d (patch)
treeda6d13dc18385dd0fa57a23069fc13e882c1d8c5 /nls/convert.awk
parent08ae57e646e0b165f59e4988de2ae84ea74713d5 (diff)
downloadfluxbox_pavel-d78a4ac9a983e6ef20e3ddc97af50a963e35c54d.zip
fluxbox_pavel-d78a4ac9a983e6ef20e3ddc97af50a963e35c54d.tar.bz2
minor fix
Diffstat (limited to 'nls/convert.awk')
-rw-r--r--nls/convert.awk6
1 files changed, 3 insertions, 3 deletions
diff --git a/nls/convert.awk b/nls/convert.awk
index 744179c..813c470 100644
--- a/nls/convert.awk
+++ b/nls/convert.awk
@@ -4,13 +4,13 @@
4 4
5 if (major > 1) 5 if (major > 1)
6 printf "\n" > output 6 printf "\n" > output
7 printf "$set %d %s\n", major, $3 > output 7 printf "$set %d %s\n", major, $3 >> output
8 8
9 if (header) { 9 if (header) {
10 majorName = substr($3, 2) 10 majorName = substr($3, 2)
11 if (major > 1) 11 if (major > 1)
12 printf "\n" > header 12 printf "\n" > header
13 printf "#define %sSet %#x\n", majorName, major > header 13 printf "\t%sSet = %#x,\n", majorName, major >> header
14 } 14 }
15} 15}
16 16
@@ -19,7 +19,7 @@
19 19
20 if (header) { 20 if (header) {
21 minorName = substr($2, 2) 21 minorName = substr($2, 2)
22 printf "#define %s%s %#x\n", majorName, minorName, minor > header 22 printf "\t%s%s = %#x,\n", majorName, minorName, minor >> header
23 } 23 }
24} 24}
25 25