From 8a3a18fa3695d8c61b8b401a9cef28ae66fb2f65 Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Fri, 27 Aug 2021 21:33:16 +0200 Subject: [PATCH] 0.7.0alpha1 bugfixes --- dist.sh | 8 ++++++-- src/compiler/options.c | 2 +- src/compiler/ui_amiga.c | 6 +++--- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/dist.sh b/dist.sh index 544f6833..a0f03cc4 100755 --- a/dist.sh +++ b/dist.sh @@ -1,5 +1,7 @@ #!/bin/bash +VERSION=0.7.0alpha1 +LHA=aqb-${VERSION}.lha WORKDIR=target/m68k-amigaos/dist rm -rf ${WORKDIR}/aqb @@ -34,9 +36,11 @@ for EX in examples/demo/*.bas ; do cp dist/amiga/Icons/`basename $EX`.info ${WORKDIR}/aqb/examples/demo/ done +cp -r help ${WORKDIR}/aqb/ + pushd ${WORKDIR} -lha a aqb.lha aqb.info aqb -cp aqb.lha /home/guenter/media/emu/amiga/FS-UAE/hdd/system/x/ +lha a ${LHA} aqb.info aqb +cp ${LHA} /home/guenter/media/emu/amiga/FS-UAE/hdd/system/x/ popd #sudo cp -r Fonts/aqb /mnt/amiga/Fonts/ diff --git a/src/compiler/options.c b/src/compiler/options.c index d70d45c5..7371f873 100644 --- a/src/compiler/options.c +++ b/src/compiler/options.c @@ -13,7 +13,7 @@ extern struct DOSBase *DOSBase; static char g_pref_fn[PATH_MAX]; static int g_pref_font = 1; -static int g_pref_colorscheme = 1; +static int g_pref_colorscheme = 0; static int g_opt=0; void OPT_set(int opt, bool onoff) diff --git a/src/compiler/ui_amiga.c b/src/compiler/ui_amiga.c index 89728d34..d2301a3f 100644 --- a/src/compiler/ui_amiga.c +++ b/src/compiler/ui_amiga.c @@ -149,8 +149,8 @@ static UI_theme_t g_themes[NUM_THEMES] = { { "Light", // TEXT KEYWORD COMMENT INVERSE DIALOG - { 1, 2, 3, 0, 2 }, - { 0, 0, 0, 1, 0 } + { 1, 2, 3, 0, 0 }, + { 0, 0, 0, 1, 3 } }, }; @@ -656,7 +656,7 @@ char *UI_FileReq (char *title) if (fr = (struct FileRequester *) AllocAslRequestTags(ASL_FileRequest, ASL_Hail, (ULONG)title, - ASL_Dir, (ULONG)"aqb:", + ASL_Dir, (ULONG)aqb_home, ASL_File, (ULONG)"", ASL_Pattern, (ULONG)"#?.bas", ASL_FuncFlags, FILF_PATGAD,