comparison src/window.c @ 12716:351cf7c67bbe v8.0.1236

patch 8.0.1236: Mac features are confusing commit https://github.com/vim/vim/commit/d057301b1f28736f094affa17b190244ad56e8d9 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Oct 28 21:11:06 2017 +0200 patch 8.0.1236: Mac features are confusing Problem: Mac features are confusing. Solution: Make feature names more consistent, add "osxdarwin". Rename feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes #2178)
author Christian Brabandt <cb@256bit.org>
date Sat, 28 Oct 2017 21:15:35 +0200
parents e769c912fcd9
children d21adefd4a50
comparison
equal deleted inserted replaced
12715:279ec0abb4ac 12716:351cf7c67bbe
6362 if (url || retval == FAIL) 6362 if (url || retval == FAIL)
6363 { 6363 {
6364 /* something failed; use the file name (truncate when too long) */ 6364 /* something failed; use the file name (truncate when too long) */
6365 vim_strncpy(buf, fname, len - 1); 6365 vim_strncpy(buf, fname, len - 1);
6366 } 6366 }
6367 #if defined(MACOS_CLASSIC) || defined(MSWIN) 6367 #if defined(MSWIN)
6368 slash_adjust(buf); 6368 slash_adjust(buf);
6369 #endif 6369 #endif
6370 return retval; 6370 return retval;
6371 } 6371 }
6372 6372