From 3cc6ef9b6416ded716b48e1b47d7873783ee1410 Mon Sep 17 00:00:00 2001 From: Nishi Date: Fri, 8 May 2026 00:35:34 +0900 Subject: [PATCH] 1.2a --- README.txt | 2 +- include/Mw/Version.h | 6 +++--- src/widget/tab.c | 4 +--- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/README.txt b/README.txt index 9278f3f..a4bd83a 100644 --- a/README.txt +++ b/README.txt @@ -1,5 +1,5 @@ -Greetings - Welcome to the Milsko GUI Toolkit (Version 1.2) +Greetings - Welcome to the Milsko GUI Toolkit (Version 1.2a) This document contains a brief summary of the contents of this source distributions and building instructions for Milsko GUI Toolkit. diff --git a/include/Mw/Version.h b/include/Mw/Version.h index 02ca715..ba550d3 100644 --- a/include/Mw/Version.h +++ b/include/Mw/Version.h @@ -16,14 +16,14 @@ #define MwMINOR 2 /*! - * @brief Patchlevel of version, calculated by `patchlevel_alphabet - 'a'` + * @brief Patchlevel of version, calculated by `patchlevel_alphabet - 'a' + 1` */ -#define MwPATCH 0 +#define MwPATCH 1 /*! * @brief Version in string */ -#define MwVERSION "1.2" +#define MwVERSION "1.2a" /*! * @brief Version in string diff --git a/src/widget/tab.c b/src/widget/tab.c index 38ce7fd..5e9ff04 100644 --- a/src/widget/tab.c +++ b/src/widget/tab.c @@ -149,8 +149,6 @@ static void draw(MwWidget handle) { static void show_frame(MwWidget handle) { MwTab t = handle->internal; - int n = MwGetInteger(handle, MwNvalue); - int i; resize(handle); @@ -226,7 +224,7 @@ static void resize(MwWidget handle) { for(i = 0; i < arrlen(t->frames); i++) { int y = MwGetInteger(handle, MwNheight); - if(i == v) tab_height(handle) + MwDefaultBorderWidth(handle); + if(i == v) y = tab_height(handle) + MwDefaultBorderWidth(handle); MwVaApply(t->frames[i], MwNx, MwDefaultBorderWidth(handle),