Fix compilation with wxWidgets 2.8.12amule-svn-r10981
commit311efa37594763170cfe7327f92f4dd3fae7dd64
authorupstream svn <svn@amule.org>
Wed, 23 Nov 2016 20:24:36 +0000 (23 20:24 +0000)
committerDévai Tamás <gonosztopi@amule.org>
Wed, 23 Nov 2016 22:05:18 +0000 (23 22:05 +0000)
tree70fd6680dc2b455a52f4f35a85d74e797a592336
parent275788f1821981f32a9f89e9c4533bcdadcedbd7
Fix compilation with wxWidgets 2.8.12

wxWidgets-2.8 wxCharBuffer does not have a length() member function. However,
both 2.8 and 3.0 will have data() == NULL if the conversion failed, thus it
is enough to check data() for the conversion result.
.svn-revision
src/libs/common/Path.cpp