Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Factory:Rebuild
fcitx-configtool
fcitx-configtool-0.4.9-for-loop-init-declaratio...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fcitx-configtool-0.4.9-for-loop-init-declaration-c99.patch of Package fcitx-configtool
Index: b/gtk3/sub_config_widget.c =================================================================== --- a/gtk3/sub_config_widget.c +++ b/gtk3/sub_config_widget.c @@ -194,7 +194,8 @@ void open_native_file(GtkButton *button, fcitx_utils_get_fcitx_path_with_filename ("libdir", "fcitx/libexec/fcitx-qt5-gui-wrapper") }; char* wrapper = NULL; - for (int i = 0; i < FCITX_ARRAY_SIZE(qtguiwrapper); i++) { + int i; + for (i = 0; i < FCITX_ARRAY_SIZE(qtguiwrapper); i++) { if (qtguiwrapper[i]) { gchar* argv[4]; argv[0] = qtguiwrapper[i]; @@ -218,7 +219,7 @@ void open_native_file(GtkButton *button, g_spawn_async(NULL, argv2, NULL, 0, NULL, NULL, NULL, NULL); } - for (int i = 0; i < FCITX_ARRAY_SIZE(qtguiwrapper); i++) { + for (i = 0; i < FCITX_ARRAY_SIZE(qtguiwrapper); i++) { free(qtguiwrapper[i]); } @@ -271,7 +272,8 @@ void run_plugin(GtkButton* button, gpoin fcitx_utils_get_fcitx_path_with_filename ("libdir", "fcitx/libexec/fcitx-qt5-gui-wrapper") }; char* wrapper = NULL; - for (int i = 0; i < FCITX_ARRAY_SIZE(qtguiwrapper); i++) { + int i; + for (i = 0; i < FCITX_ARRAY_SIZE(qtguiwrapper); i++) { if (qtguiwrapper[i]) { gchar* argv[4]; argv[0] = qtguiwrapper[i]; @@ -295,7 +297,7 @@ void run_plugin(GtkButton* button, gpoin g_spawn_async(NULL, argv2, NULL, 0, NULL, NULL, NULL, NULL); } - for (int i = 0; i < FCITX_ARRAY_SIZE(qtguiwrapper); i++) { + for (i = 0; i < FCITX_ARRAY_SIZE(qtguiwrapper); i++) { free(qtguiwrapper[i]); }
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