changeset 4:a6460dd3320a

Fix copyright and license information. Also updated uninstaller for Dynamic Windows 2.2.
author Brian Smith <brian@dbsoft.org>
date Sun, 13 Nov 2011 08:02:11 -0600
parents 445f5fc8d53d
children 5d4e598c4535
files license.txt rexx.c uninst/uninst.c
diffstat 3 files changed, 6 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/license.txt	Sun Nov 13 07:50:48 2011 -0600
+++ b/license.txt	Sun Nov 13 08:02:11 2011 -0600
@@ -1,6 +1,7 @@
 Copyright Information About Installer.
 
-1998-2003 Brian Smith <dbsoft@technologist.com>
+1998-2011 Brian Smith <brian@dbsoft.org>
+2003-2011 Mark Hessling <mark@rexx.org>
 2000 Achim Hasenmueller <achimha@innotek.de>
 2000 Peter Nielsen <peter@pmview.com>
 2003 Mark Hessling <m.hessling@qut.edu.au>
@@ -14,9 +15,6 @@
 Source code must keep the copyrights.
 Entities using the source code must acknowledge Dynamic Windows contributors.
 (either passively when queried or actively by acknowledgements in the program)
-The following are not allowed to use Dynamic Windows in a commercial product:
-
-F/X Communications
-Any entity associated with Bjarne Jensen
 
 
+
--- a/rexx.c	Sun Nov 13 07:50:48 2011 -0600
+++ b/rexx.c	Sun Nov 13 08:02:11 2011 -0600
@@ -1,7 +1,7 @@
 /* $Id: rexx.c,v 1.47 2003/11/24 18:56:44 bsmith Exp $ */
 
 /*
- *  rexx.c (C) 1999-2003 Brian Smith <dbsoft@technologist.com>
+ *  rexx.c (C) 1999-2011 Brian Smith <brian@dbsoft.org>
  *         (C) 2000 Achim Hasenmueller <achimha@innotek.de>
  */
 
--- a/uninst/uninst.c	Sun Nov 13 07:50:48 2011 -0600
+++ b/uninst/uninst.c	Sun Nov 13 08:02:11 2011 -0600
@@ -171,12 +171,11 @@
 
 void update_percent(int current, int total)
 {
-	static int pixels = 0;
 	ULONG sliderpos = 0;
 
-	if(total && (pixels = dw_percent_query_range(slider)))
+	if(total)
 	{
-		sliderpos = (int)(((float)current/(float)total)*pixels);
+		sliderpos = (int)(((float)current/(float)total)*100);
 		dw_percent_set_pos(slider, sliderpos);
 	}
 }