• R/O
  • HTTP
  • SSH
  • HTTPS

MacPorts: Commit

My MacPorts


Commit MetaInfo

Revisiondee9d8336cdebc227be2b6f7292adcbcaaec29d8 (tree)
Time2009-03-26 20:37:24
AuthorKazuki Sakamoto <sakamoto@splh...>
CommiterKazuki Sakamoto

Log Message

vim-app fix transparency cocoa

Change Summary

Incremental Difference

--- a/editors/vim-app/files/patch-option-cocoa.c
+++ b/editors/vim-app/files/patch-option-cocoa.c
@@ -9,16 +9,23 @@
99 {"ttimeout", NULL, P_BOOL|P_VI_DEF|P_VIM,
1010 (char_u *)&p_ttimeout, PV_NONE,
1111 {(char_u *)FALSE, (char_u *)0L}},
12-@@ -8004,10 +8004,10 @@
12+@@ -8004,15 +8004,14 @@
1313 #endif
1414
1515 #if defined(FEAT_GUI_COCOA)
1616 - /* 'transparency' is a number between 0 and 100 */
17-+ /* 'transparency' is a number between 0 and 255 */
17++ /* 'transparency' is a number between 1 and 255 */
1818 else if (pp == &p_transp)
1919 {
2020 - if (p_transp < 0 || p_transp > 100)
21-+ if (p_transp < 0 || p_transp > 255)
21++ if (p_transp < 1 || p_transp > 255)
2222 {
23- errmsg = e_invarg;
24- p_transp = old_value;
23+- errmsg = e_invarg;
24+- p_transp = old_value;
25++ p_transp = 255;
26+ }
27+- else if (gui.in_use)
28++ if (gui.in_use)
29+ gui_mch_new_colors();
30+ }
31+ #endif
Show on old repository browser