changeset 1385:fc20ad815428

Don't need to include the / after the .app on Mac.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 25 Nov 2011 19:01:30 +0000
parents 156e32814c83
children fd1de4e9e542
files mac/dw.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mac/dw.m	Fri Nov 25 18:31:54 2011 +0000
+++ b/mac/dw.m	Fri Nov 25 19:01:30 2011 +0000
@@ -9618,7 +9618,7 @@
             size_t len = (size_t)(app - pathcopy);
             
             if(len > 0)
-                strncpy(_dw_bundle_path, pathcopy, len + 5);
+                strncpy(_dw_bundle_path, pathcopy, len + 4);
             *app = 0;
 
             getcwd(pathbuf, PATH_MAX);