Fix wrong variable name
The typo resulted in, depending on compiler used, an error ("undeclared
identifier") or warning. Fix by using the intended name.
Regression since 5552351393
.
This commit is contained in:
@@ -512,7 +512,7 @@ void FileFunctionsTestCase::PathOnly()
|
||||
{
|
||||
wxString name = wxT("horse.bmp");
|
||||
// Get absolute path to horse.bmp
|
||||
wxFileName filename(filename);
|
||||
wxFileName filename(name);
|
||||
CPPUNIT_ASSERT( filename.MakeAbsolute() );
|
||||
|
||||
wxString pathOnly = wxPathOnly(filename.GetFullPath());
|
||||
|
Reference in New Issue
Block a user