Fix typo in variable name.

This commit is contained in:
Dave Page 2017-03-28 08:55:38 -04:00
parent 688c810300
commit 44ce8985e0

View File

@ -22,10 +22,6 @@
// App headers // App headers
#include "Server.h" #include "Server.h"
#ifndef PYTHON2
#include <stdlib.h>
#endif
static void add_to_path(QString &python_path, QString path, bool prepend=false) static void add_to_path(QString &python_path, QString path, bool prepend=false)
{ {
if (!python_path.contains(path)) if (!python_path.contains(path))
@ -185,7 +181,7 @@ Server::Server(quint16 port, QString key)
char *python_home = pythonHome_utf8.data(); char *python_home = pythonHome_utf8.data();
const size_t cSize = strlen(python_home) + 1; const size_t cSize = strlen(python_home) + 1;
m_wcPythonHome = new wchar_t[cSize]; m_wcPythonHome = new wchar_t[cSize];
mbstowcs (wcPythonHome, python_home, cSize); mbstowcs (m_wcPythonHome, python_home, cSize);
Py_SetPythonHome(m_wcPythonHome); Py_SetPythonHome(m_wcPythonHome);
#endif #endif