1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-22 10:56:38 +02:00

core: fix style

This commit is contained in:
Sébastien Helleu
2023-12-14 23:11:35 +01:00
parent ffa933bcf8
commit fa0b320178
16 changed files with 54 additions and 49 deletions
+2 -2
View File
@@ -1504,9 +1504,9 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
/* PyEval_InitThreads(); */
/* python_mainThreadState = PyThreadState_Swap(NULL); */
#if PY_VERSION_HEX >= 0x03070000
python_mainThreadState = PyThreadState_Get();
python_mainThreadState = PyThreadState_Get ();
#else
python_mainThreadState = PyEval_SaveThread();
python_mainThreadState = PyEval_SaveThread ();
#endif
/* PyEval_ReleaseLock (); */