aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/WMProps.c
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-11-15 18:41:52 +0100
committerMihai Moldovan <ionic@ionic.de>2017-03-01 15:19:13 +0100
commit0f9a11a94b5fb52b5f1f9c79a93c54fc6396cab8 (patch)
tree00a7164ebcce24a946e0c9501d2bfde2622069da /nx-X11/lib/X11/WMProps.c
parentf22e873e6f141b98bfc57a5443c11a9d6b8645c3 (diff)
downloadnx-libs-0f9a11a94b5fb52b5f1f9c79a93c54fc6396cab8.tar.gz
nx-libs-0f9a11a94b5fb52b5f1f9c79a93c54fc6396cab8.tar.bz2
nx-libs-0f9a11a94b5fb52b5f1f9c79a93c54fc6396cab8.zip
drop platform support: unifdef __UNIXOS2__.
Fixes ArcticaProject/nx-libs#271.
Diffstat (limited to 'nx-X11/lib/X11/WMProps.c')
-rw-r--r--nx-X11/lib/X11/WMProps.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/nx-X11/lib/X11/WMProps.c b/nx-X11/lib/X11/WMProps.c
index 249072936..e77f7ba56 100644
--- a/nx-X11/lib/X11/WMProps.c
+++ b/nx-X11/lib/X11/WMProps.c
@@ -122,14 +122,6 @@ void XSetWMProperties (
* systems will have to change this.
*/
char *cp = strrchr (argv[0], '/');
-#ifdef __UNIXOS2__
- char *os2_cp = strrchr (argv[0],'\\');
- char *dot_cp = strrchr (argv[0],'.');
- if (os2_cp && (os2_cp > cp)) {
- if(dot_cp && (dot_cp > os2_cp)) *dot_cp = '\0';
- cp=os2_cp;
- }
-#endif
tmp.res_name = (cp ? cp + 1 : argv[0]);
}
tmp.res_class = classHints->res_class;