summaryrefslogtreecommitdiff
path: root/lib/libXt/src/Display.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2013-05-31 15:37:39 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2013-05-31 15:37:39 +0000
commit2f8b31c07c92215d04ca7112aadd14f45d5fce8a (patch)
treeeb8fafcd945f4b45e15a723824626f609c436495 /lib/libXt/src/Display.c
parentf8ff0e7d9db4e3836fd7f4e9cdea89d799a24564 (diff)
Update to libXt 1.1.4
Diffstat (limited to 'lib/libXt/src/Display.c')
-rw-r--r--lib/libXt/src/Display.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/libXt/src/Display.c b/lib/libXt/src/Display.c
index 4ccf079ce..097173540 100644
--- a/lib/libXt/src/Display.c
+++ b/lib/libXt/src/Display.c
@@ -274,13 +274,6 @@ Display *XtOpenDisplay(
#else
char *ptr = strrchr(argv[0], '/');
#endif
-#ifdef __UNIXOS2__
- char *dot_ptr,*ptr2;
- ptr2 = strrchr(argv[0],'\\');
- if (ptr2 > ptr) ptr = ptr2;
- dot_ptr = strrchr(argv[0],'.');
- if (dot_ptr && (dot_ptr > ptr)) *dot_ptr='\0';
-#endif /* This will remove the .exe suffix under OS/2 */
if (ptr) applName = ++ptr;
else applName = argv[0];