[geany/geany-plugins] 1fa76e: Merge pull request #884 from DevynCJohnson/patch-2
Frank Lanitz
git-noreply at xxxxx
Tue Jul 16 15:29:11 UTC 2019
Branch: refs/heads/master
Author: Frank Lanitz <frank at frank.uvena.de>
Committer: GitHub <noreply at github.com>
Date: Tue, 16 Jul 2019 15:29:11 UTC
Commit: 1fa76e8c7087750b0bab72f73ee7f928da7cd6dc
https://github.com/geany/geany-plugins/commit/1fa76e8c7087750b0bab72f73ee7f928da7cd6dc
Log Message:
-----------
Merge pull request #884 from DevynCJohnson/patch-2
Added additional color format to ao_colortip.c in "Addons"
Modified Paths:
--------------
addons/src/ao_colortip.c
Modified: addons/src/ao_colortip.c
8 lines changed, 8 insertions(+), 0 deletions(-)
===================================================================
@@ -71,6 +71,14 @@ static gint contains_color_value(gchar *string, gint position, gint maxdist)
guint length;
start = strchr(string, '#');
+ if (!start)
+ {
+ start = strstr(string, "0x");
+ if (start)
+ {
+ start += 1;
+ }
+ }
if (start == NULL)
{
return color;
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list