commit b2ac78d52a410adb09d77c9d4be4126baedcd76a
Author: Michael Day <contact@michaelcday.com>
AuthorDate: Tue Mar 14 13:28:27 2023 -0400
Commit: Michael Day <contact@michaelcday.com>
CommitDate: Tue Mar 21 13:59:22 2023 -0400
Remove sound setup window adjustment
---
src/setup/sound.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/src/setup/sound.c b/src/setup/sound.c
index b071b50d..90933342 100644
--- a/src/setup/sound.c
+++ b/src/setup/sound.c
@@ -243,11 +243,6 @@ void ConfigSound(TXT_UNCAST_ARG(widget), void *user_data)
{
txt_window_t *window;
txt_window_action_t *music_action;
-#ifdef _WIN32
- int window_ypos = 2;
-#else
- int window_ypos = 3;
-#endif
// Build the window
@@ -256,7 +251,7 @@ void ConfigSound(TXT_UNCAST_ARG(widget), void *user_data)
TXT_SetColumnWidths(window, 40);
TXT_SetWindowPosition(window, TXT_HORIZ_CENTER, TXT_VERT_TOP,
- TXT_SCREEN_W / 2, window_ypos);
+ TXT_SCREEN_W / 2, 3);
music_action = TXT_NewWindowAction('m', "Music Packs");
TXT_SetWindowAction(window, TXT_HORIZ_CENTER, music_action);