Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
ucblogo
ucblogo-wxString-to-c_str.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ucblogo-wxString-to-c_str.patch of Package ucblogo
Index: ucblogo-6.2.2/wxMain.cpp =================================================================== --- ucblogo-6.2.2.orig/wxMain.cpp +++ ucblogo-6.2.2/wxMain.cpp @@ -222,7 +222,7 @@ extern "C" int wxUnget_c(int c, FILE * f extern "C" void getExecutableDir(char * path, int maxlen) { wxString executable = wxStandardPaths::Get().GetExecutablePath(); wxString executable_dir = wxFileName(executable).GetPath(); - strncpy(path, executable_dir, maxlen); + strncpy(path, executable_dir.c_str(), maxlen); path[maxlen - 1] = '\0'; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor