diff options
| author | Javier <dev.git@javispedro.com> | 2026-09-03 23:49:29 +0200 |
|---|---|---|
| committer | Javier <dev.git@javispedro.com> | 2026-09-04 00:06:23 +0200 |
| commit | 1b9e3118374a13dc12652d87b1dd3d1ccfecbbf3 (patch) | |
| tree | 0c5f7b5aef76806a449d799dba333d41eaa60aa2 /mousmain.c | |
| parent | 906193586d30a382d2b982419d92f80c07a65286 (diff) | |
| download | vbados-1b9e3118374a13dc12652d87b1dd3d1ccfecbbf3.tar.gz vbados-1b9e3118374a13dc12652d87b1dd3d1ccfecbbf3.zip | |
embed language & unicode tables into main executables
use KITTENC to embed all NLS files into executable
KITTENC does not allow loading external files anymore...
embed the cp???uni.tbl (codepage -> unicode conversion tables)
into the main executable too. however, we will still try to find
them in PATH if user cp is missing from the internal ones.
this means the distribution zip/flp now contain much fewer files.
con: some utilities now need to built in the host (kittenc & unitbl2c)
this may make the build less portable; so far unix and dos/386 still work.
Diffstat (limited to 'mousmain.c')
| -rw-r--r-- | mousmain.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -35,8 +35,6 @@ #include "dostsr.h" #include "mousetsr.h" -static nl_catd cat; - #if USE_WHEEL static bool detect_ps2_wheel(LPTSRDATA data) { @@ -761,7 +759,7 @@ int main(int argc, const char *argv[]) LPTSRDATA data = get_tsr_data(true); int err, argi = 1; - cat = kittenopen("vbmouse"); + kittenopen(argv[0]); printf(_(1, 20, "\nVBMouse %x.%x (reporting as MSMOUSE %x.%x)\n"), VERSION_MAJOR, VERSION_MINOR, REPORTED_VERSION_MAJOR, REPORTED_VERSION_MINOR); |
