summaryrefslogtreecommitdiff
path: root/src/Display.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-04 19:52:59 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-08 17:03:41 -0800
commit97034e393cfa63a55e9cec2d795ac41e5872f5b5 (patch)
treed88d6e536e29055b7c4c9d041196d88abedb44b0 /src/Display.c
parent0033d063894d003b1cb6edb14107d6ef7e0f3fec (diff)
unifdef -U__UNIXOS2__
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/Display.c')
-rw-r--r--src/Display.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/Display.c b/src/Display.c
index 4ccf079..0971735 100644
--- a/src/Display.c
+++ b/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];