Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
graphics
tgif
tgif-4.2.5-xim-failure.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tgif-4.2.5-xim-failure.patch of Package tgif
--- convxim.c.original 2011-06-28 04:04:57.000000000 +0200 +++ convxim.c 2018-01-07 10:35:33.450185001 +0100 @@ -33,6 +33,7 @@ #include "convxim.e" #include "dialog.e" #include "font.e" +#include "inmethod.e" #include "list.e" #include "miniline.e" #include "msg.e" @@ -219,7 +220,7 @@ Msg(buf); } - for (i = 0; i <= (int)strlen(modifiers) - 4 ; i++) { + for (i = 0; modifiers != NULL && i <= (int)strlen(modifiers) - 4 ; i++) { if (strncmp((char *)&modifiers[i], "SCIM", 4) == 0 || strncmp((char *)&modifiers[i], "scim", 4) == 0) { modscim = True; @@ -231,6 +232,7 @@ im = XOpenIM(mainDisplay, NULL, NULL, NULL); if(im == NULL) { MsgBox(TgLoadString(STID_CANNOT_OPEN_XIM), TOOL_NAME, INFO_MB); + CleanUpInputMethods(); return; } }
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