summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux/dialogs.cpp2
-rw-r--r--linux/main.cpp5
-rw-r--r--win/LeoCAD.rc3
-rw-r--r--win/Leocad.clw4
-rw-r--r--win/Piecelst.cpp2
5 files changed, 9 insertions, 7 deletions
diff --git a/linux/dialogs.cpp b/linux/dialogs.cpp
index 9ba6c57..591cab6 100644
--- a/linux/dialogs.cpp
+++ b/linux/dialogs.cpp
@@ -633,7 +633,7 @@ int aboutdlg_execute(void* param)
gtk_widget_show (vbox2);
gtk_box_pack_start (GTK_BOX (hbox), vbox2, TRUE, TRUE, 0);
- w = gtk_label_new ("LeoCAD for Linux Version 0.71");
+ w = gtk_label_new ("LeoCAD for Linux Version 0.72");
gtk_widget_show (w);
gtk_box_pack_start (GTK_BOX (vbox2), w, FALSE, FALSE, 5);
diff --git a/linux/main.cpp b/linux/main.cpp
index 74a7bac..5951d90 100644
--- a/linux/main.cpp
+++ b/linux/main.cpp
@@ -211,6 +211,9 @@ static gint main_quit (GtkWidget *widget, GdkEvent* event, gpointer data)
if (!project->SaveModified())
return TRUE;
+ delete project;
+ project = NULL;
+
gtk_main_quit ();
return FALSE;
}
@@ -335,7 +338,7 @@ int main(int argc, char* argv[])
gtk_main();
- delete project;
+ // delete project;
return 0;
}
diff --git a/win/LeoCAD.rc b/win/LeoCAD.rc
index 5934a16..a9ea831 100644
--- a/win/LeoCAD.rc
+++ b/win/LeoCAD.rc
@@ -609,8 +609,7 @@ CAPTION "About LeoCAD"
FONT 8, "MS Sans Serif"
BEGIN
ICON IDR_MAINFRAME,IDC_STATIC,11,17,20,20
- LTEXT "LeoCAD Version 0.71.1",IDC_STATIC,40,10,119,8,
- SS_NOPREFIX
+ LTEXT "LeoCAD Version 0.72",IDC_STATIC,40,10,119,8,SS_NOPREFIX
LTEXT "Copyright © 1996-99, BT Software",IDC_STATIC,40,25,119,
8
DEFPUSHBUTTON "OK",IDOK,178,7,32,14,WS_GROUP
diff --git a/win/Leocad.clw b/win/Leocad.clw
index 7b44335..26bc275 100644
--- a/win/Leocad.clw
+++ b/win/Leocad.clw
@@ -72,7 +72,7 @@ Resource9=IDD_LIBRARY
Resource10=IDD_TERRAIN_OPTIONS
Resource11=IDD_PREFPRINT
Resource12=IDR_MAINFRAME
-Resource13=IDD_ABOUTBOX
+Resource13=IDD_EDIT_GROUPS
Resource14=IDD_PROPGENERAL
Resource15=IDD_PROPSUMMARY
Resource16=IDD_PROPPIECES
@@ -96,8 +96,8 @@ Resource33=IDD_EXPORTPOV
Resource34=IDD_SAVEPICTUREDLG_TEMPLATE
Resource35=IDD_PIECEEDITOR
Class50=CGroupEditTree
-Resource36=IDD_EDIT_GROUPS
Class51=CSortHeaderCtrl
+Resource36=IDD_ABOUTBOX
[CLS:CAboutDlg]
Type=0
diff --git a/win/Piecelst.cpp b/win/Piecelst.cpp
index 4b0f0fb..6cef074 100644
--- a/win/Piecelst.cpp
+++ b/win/Piecelst.cpp
@@ -72,7 +72,7 @@ void CPiecesList::OnColumnclick(NMHDR* pNMHDR, LRESULT* pResult)
if (pNMListView->iSubItem == m_nSortedCol)
m_bAscending = !m_bAscending;
else
- m_bAscending = TRUE;
+ m_bAscending = FALSE;
// save the column index.
m_nSortedCol = pNMListView->iSubItem;