aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGene Cumm <gene.cumm@gmail.com>2010-10-24 20:03:23 -0400
committerGene Cumm <gene.cumm@gmail.com>2010-10-24 20:03:23 -0400
commitf5308737f29277d0e461b6e258c879e85f534ef2 (patch)
tree6e4e9aac9c629fa7859aeda4f1e28621a4c1fd9b
parent884ec3649c85b1959826a5427fa23bd7a6def598 (diff)
downloadsyslinux-f5308737f29277d0e461b6e258c879e85f534ef2.tar.gz
syslinux-f5308737f29277d0e461b6e258c879e85f534ef2.tar.xz
syslinux-f5308737f29277d0e461b6e258c879e85f534ef2.zip
ver.com: Compact file by reuse of string
-rw-r--r--modules/ver.asm22
1 files changed, 13 insertions, 9 deletions
diff --git a/modules/ver.asm b/modules/ver.asm
index 00b349b3..53d62d2b 100644
--- a/modules/ver.asm
+++ b/modules/ver.asm
@@ -99,23 +99,26 @@ chkprn_syslinux:
.var_sysl:
mov si,sysl_str
call writestr
- jmp .prn_ver
+ jmp .prn_lnxsp
.var_pxel:
mov si,pxel_str
call writestr
- jmp .prn_ver
+ jmp .prn_lnxsp
.var_isol:
mov si,isol_str
call writestr
- jmp .prn_ver
+ jmp .prn_lnxsp
.var_extl:
mov si,extl_str
call writestr
- jmp .prn_ver
+ jmp .prn_lnxsp
.var_unk:
mov si,unkvar_str
call writestr
-; jmp .prn_ver
+ jmp .prn_ver
+.prn_lnxsp:
+ mov si,linsp_str
+ call writestr
.prn_ver:
%ifdef DEBUG
push si
@@ -499,10 +502,11 @@ is_drmk_str db 'Found DRMK', CR, LF, 0
may_sysl_str db 'Maybe Syslinux variant', CR, LF, 0
gotver_str db 'Got the version back', CR, LF, 0
prn_ver_str db 'Printing version number', CR, LF, 0
-sysl_str db 'SYSLINUX ', 0
-pxel_str db 'PXELINUX ', 0
-isol_str db 'ISOLINUX ', 0
-extl_str db 'EXTLINUX ', 0
+sysl_str db 'SYS', 0
+pxel_str db 'PXE', 0
+isol_str db 'ISO', 0
+extl_str db 'EXT', 0
+linsp_str db 'LINUX ', 0
unkvar_str db 'Unkown-Variant ', 0
pcdos_str db 'PC-DOS ', 0
msdos_str db 'MS-DOS ', 0