From 82d2844bb07d9c6ee228c2cfeb16dbcdabf8b257 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Mon, 2 Sep 2002 19:29:33 +0000 Subject: [PATCH] * chmod.c: Eliminate x_set_dialog_title(). * drive.c: Likewise. --- pc/ChangeLog | 11 ++++++++--- pc/chmod.c | 4 +--- pc/drive.c | 4 +--- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/pc/ChangeLog b/pc/ChangeLog index 873ab7046..2b135eb51 100644 --- a/pc/ChangeLog +++ b/pc/ChangeLog @@ -1,8 +1,13 @@ +2002-09-02 Pavel Roskin + + * chmod.c: Eliminate x_set_dialog_title(). + * drive.c: Likewise. + 2002-08-01 Pavel Roskin - * (chmod.c): Don't include mad.h. - * (drive.c): Likewise. - * (slint_pc.c): Likewise. + * chmod.c: Don't include mad.h. + * drive.c: Likewise. + * slint_pc.c: Likewise. 2002-07-15 Pavel Roskin diff --git a/pc/chmod.c b/pc/chmod.c index 6f67dfb76..21e7dc45b 100644 --- a/pc/chmod.c +++ b/pc/chmod.c @@ -231,10 +231,8 @@ static void init_chmod (void) } ch_dlg = create_dlg (0, 0, 22 - single_set, 70, dialog_colors, - chmod_callback, "[Chmod]", "chmod", DLG_CENTER); + chmod_callback, "[Chmod]", "Chmod command", DLG_CENTER); - x_set_dialog_title (ch_dlg, "Chmod command"); - #define XTRACT(i) BY+chmod_but[i].y-single_set, BX+chmod_but[i].x, \ chmod_but[i].ret_cmd, chmod_but[i].flags, chmod_but[i].text, 0, 0, NULL diff --git a/pc/drive.c b/pc/drive.c index 9f12c78f5..806d95437 100644 --- a/pc/drive.c +++ b/pc/drive.c @@ -97,9 +97,7 @@ static void drive_cmd() } drive_dlg = create_dlg (y_pos, x_pos, y_height, x_width, dialog_colors, - drive_dlg_callback, "[ChDrive]", "drive", DLG_NONE); - - x_set_dialog_title (drive_dlg, "Change Drive"); + drive_dlg_callback, "[ChDrive]", "Change Drive", DLG_NONE); if (nDrivesAvail>MAX_LGH) { for (i = 0; i < nDrivesAvail - MAX_LGH; i++) {