Skip to content

Commit e111fda

Browse files
committed
avoid compiler warnings:
..\src\NotepadPython.cpp(109): warning C4129: 'N': unrecognized character escape sequence [C:\projects\pythonscript\PythonScript\project\PythonScript2010.vcxproj] ..\src\NotepadPython.cpp(109): warning C4129: 'p': unrecognized character escape sequence [C:\projects\pythonscript\PythonScript\project\PythonScript2010.vcxproj]
1 parent 1d751e8 commit e111fda

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PythonScript/src/NotepadPython.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ void export_notepad()
106106
.def("getCurrentNativeLangEncoding", &NotepadPlusWrapper::getCurrentNativeLangEncoding, "Returns the current native language encoding")
107107
.def("getLanguageName", &NotepadPlusWrapper::getLanguageName, boost::python::args("langType"), "Get programming language name from the given language type")
108108
.def("getLanguageDesc", &NotepadPlusWrapper::getLanguageDesc, boost::python::args("langType"), "Get programming language short description from the given language type")
109-
.def("getAppdataPluginsAllowed", &NotepadPlusWrapper::getAppdataPluginsAllowed, "Returns True if loading plugins from %APPDATA%\Notepad++\plugins is allowed, False otherwise")
109+
.def("getAppdataPluginsAllowed", &NotepadPlusWrapper::getAppdataPluginsAllowed, "Returns True if loading plugins from %APPDATA%\\Notepad++\\plugins is allowed, False otherwise")
110110
.def("getEditorDefaultForegroundColor", &NotepadPlusWrapper::getEditorDefaultForegroundColor, "Returns the default foreground color as tuple")
111111
.def("getEditorDefaultBackgroundColor", &NotepadPlusWrapper::getEditorDefaultBackgroundColor, "Returns the default background color as tuple")
112112
.def("setSmoothFont", &NotepadPlusWrapper::setSmoothFont, boost::python::args("boolean"), "True if smooth font should be set, False otherwise")

0 commit comments

Comments
 (0)