File tree Expand file tree Collapse file tree 2 files changed +17
-12
lines changed Expand file tree Collapse file tree 2 files changed +17
-12
lines changed Original file line number Diff line number Diff line change 3
3
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
4
4
* obtain one at http://mozilla.org/MPL/2.0/
5
5
*
6
- * Copyright (C) 2006-2012 , Peter Johnson (www.delphidabbler.com).
6
+ * Copyright (C) 2006-2014 , Peter Johnson (www.delphidabbler.com).
7
7
*
8
8
* $Rev$
9
9
* $Date$
@@ -225,10 +225,12 @@ procedure TMainForm.actAboutExecute(Sender: TObject);
225
225
@param Sender [in] Not used.
226
226
}
227
227
begin
228
+ { TODO: Get version information from resources instead of hard coding. }
229
+ { TODO: Remove "beta" message once beta program has ended. }
228
230
Application.MessageBox(
229
- ' PasHiGUI v0.99.1 beta.' #13 #10 #13 #10
231
+ ' PasHiGUI v1.0.0 beta 2 .' #13 #10 #13 #10
230
232
+ ' A GUI front end for the PasHi Syntax Highlighter v2.' #13 #10 #13 #10
231
- + ' Copyright (c) 2006-2012 by Peter D Johnson (www.delphidabbler.com).' ,
233
+ + ' Copyright (c) 2006-2014 by Peter D Johnson (www.delphidabbler.com).' ,
232
234
' About' ,
233
235
MB_OK
234
236
);
Original file line number Diff line number Diff line change 3
3
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
4
4
* obtain one at http://mozilla.org/MPL/2.0/
5
5
*
6
- * Copyright (C) 2007-2012 , Peter Johnson (www.delphidabbler.com).
6
+ * Copyright (C) 2007-2014 , Peter Johnson (www.delphidabbler.com).
7
7
*
8
8
* $Rev$
9
9
* $Date$
@@ -107,14 +107,17 @@ function GetProductVersionStr: string;
107
107
begin
108
108
FFI := PVSFixedFileInfo(ValPtr)^;
109
109
// Build version info string from product version field of FFI
110
- Result := Format(
111
- ' %d.%d.%d' ,
112
- [
113
- HiWord(FFI.dwProductVersionMS),
114
- LoWord(FFI.dwProductVersionMS),
115
- HiWord(FFI.dwProductVersionLS)
116
- ]
117
- );
110
+ { TODO: delete following line and reinstate commented out lines once
111
+ beta program has ended. }
112
+ Result := Format(' v2.0.0 beta %d' , [HiWord(FFI.dwProductVersionLS)]);
113
+ // Result := Format(
114
+ // 'v%d.%d.%d',
115
+ // [
116
+ // HiWord(FFI.dwProductVersionMS),
117
+ // LoWord(FFI.dwProductVersionMS),
118
+ // HiWord(FFI.dwProductVersionLS)
119
+ // ]
120
+ // );
118
121
end
119
122
end ;
120
123
finally
You can’t perform that action at this time.
0 commit comments