File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ class FileSystem
7474 public:
7575
7676 virtual ~FileSystem () {};
77- virtual File* open ( const Char *filename, Int access = 0 ) = nullptr ; // /< opens a File interface to the specified file
77+ virtual File* open ( const Char *filename, Int access = 0 ) = 0 ; // /< opens a File interface to the specified file
7878
7979
8080};
Original file line number Diff line number Diff line change @@ -111,15 +111,15 @@ class File
111111 virtual Bool open ( const Char *filename, Int access = 0 ); // /< Open a file for access
112112 virtual void close ( void ); // /< Close the file !!! File object no longer valid after this call !!!
113113
114- virtual Int read ( void *buffer, Int bytes ) = nullptr ; /* *< Read the specified number of bytes from the file in to the
114+ virtual Int read ( void *buffer, Int bytes ) = 0 ; /* *< Read the specified number of bytes from the file in to the
115115 * memory pointed at by buffer. Returns the number of bytes read.
116116 * Returns -1 if an error occured.
117117 */
118- virtual Int write ( void *buffer, Int bytes ) = nullptr ; /* *< Write the specified number of bytes from the
118+ virtual Int write ( void *buffer, Int bytes ) = 0 ; /* *< Write the specified number of bytes from the
119119 * memory pointed at by buffer to the file. Returns the number of bytes written.
120120 * Returns -1 if an error occured.
121121 */
122- virtual Int seek ( Int bytes, seekMode mode = CURRENT ) = nullptr ; /* *< Sets the file position of the next read/write operation. Returns the new file
122+ virtual Int seek ( Int bytes, seekMode mode = CURRENT ) = 0 ; /* *< Sets the file position of the next read/write operation. Returns the new file
123123 * position as the number of bytes from the start of the file.
124124 * Returns -1 if an error occured.
125125 *
Original file line number Diff line number Diff line change @@ -1313,9 +1313,9 @@ BOOL MainWindow::Is_Product_Registered( void )
13131313 {
13141314 char *sp;
13151315
1316- strcpy ( szUninstallPath, aName );
1317- sp = strchr (szUninstallPath,' /' );
1318- if (* sp != nullptr )
1316+ strcpy ( szUninstallPath, aName );
1317+ sp = strchr (szUninstallPath,' /' );
1318+ if (sp != nullptr && *sp != ' \0 ' )
13191319 {
13201320 strcpy ( szUninstallCommandLine, sp );
13211321 strcpy ( szUninstallPath, aName );
You can’t perform that action at this time.
0 commit comments