ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/trunk/VTBFileUtil2/License.cxx
(Generate patch)

Comparing trunk/VTBFileUtil2/License.cxx (file contents):
Revision 294 by douglas, 2003-09-08T18:43:28-07:00 vs.
Revision 295 by douglas, 2003-09-11T21:26:54-07:00

# Line 2 | Line 2
2   //
3   // Douglas Thrift
4   //
5 < // $Id: License.cxx,v 1.2 2003/09/09 01:43:28 douglas Exp $
5 > // $Id: License.cxx,v 1.3 2003/09/12 04:26:54 douglas Exp $
6  
7   #include "License.h"
8  
# Line 173 | Line 173 | INT_PTR License::window(HWND dialog, UIN
173                                  OPENFILENAME save;
174                                  char file[MAX_PATH];
175  
176 <                                sprintf(file, "License.rtf");
176 >                                StringCchPrintf(file, MAX_PATH, "License.rtf");
177  
178                                  save.lStructSize = sizeof(save);
179                                  save.hwndOwner = dialog;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines