Am 2016-04-27 08:33, schrieb Kazunobu Kuriyama:
On Windows 2000 or later, there has already been a macro called RGB
[1], which conflicts with ours in term.c.
This caused a compiler warning on Windows as reported by John
Marriott.
Thus Patch 1795 renamed ours from RGB to TORGB to avoid the name
conflict.
Now we have wrong colors on Windows as reported by Christian J.
Robinson.
This is because, while our macro places RGB color intensities into a
32-bit integer in the order of 0x00RRGGBB, Windows' macro does it with
the partially reversed order 0x00BBGGRR [2], thus causing the glitch.
[1]
https://msdn.microsoft.com//library/windows/desktop/dd162937(v=vs.85).aspx
[2]
https://msdn.microsoft.com/en-us/library/windows/desktop/dd183449(v=vs.85).aspx
Yes and Ken has already provided a patch for this.
Best,
Christian
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.