Mercurial > hg > octave-lyh
comparison liboctave/oct-shlib.cc @ 7520:b166043585a8
use 0 instead of NULL
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 22 Feb 2008 16:44:03 -0500 |
parents | a1dbe9d80eee |
children | 14e05160b99f |
comparison
equal
deleted
inserted
replaced
7519:3bf53d7f9d39 | 7520:b166043585a8 |
---|---|
462 { | 462 { |
463 file = f; | 463 file = f; |
464 | 464 |
465 handle = LoadLibrary (file.c_str ()); | 465 handle = LoadLibrary (file.c_str ()); |
466 | 466 |
467 if (handle != NULL) | 467 if (handle) |
468 stamp_time (); | 468 stamp_time (); |
469 else | 469 else |
470 { | 470 { |
471 DWORD lastError = GetLastError (); | 471 DWORD lastError = GetLastError (); |
472 char *msg; | 472 char *msg; |