Skip to content
Snippets Groups Projects
Commit f34e148a authored by Albert Gräf's avatar Albert Gräf
Browse files

Shorten the iemgui hex color symbol warning.

parent de36ab35
No related branches found
No related tags found
1 merge request!8672.19.4 release (candidate)
...@@ -153,6 +153,7 @@ static t_symbol *color2symbol(int col) ...@@ -153,6 +153,7 @@ static t_symbol *color2symbol(int col)
{ {
if (!color_format_warned) if (!color_format_warned)
{ {
#if 0
post("warning: saving iemgui colors as hex symbol. These colors " post("warning: saving iemgui colors as hex symbol. These colors "
"are readable in Pd Vanilla since 0.47, but they are not " "are readable in Pd Vanilla since 0.47, but they are not "
"readable in Purr Data version 2.12.0 or earlier. " "readable in Purr Data version 2.12.0 or earlier. "
...@@ -164,6 +165,11 @@ static t_symbol *color2symbol(int col) ...@@ -164,6 +165,11 @@ static t_symbol *color2symbol(int col)
post("|"); post("|");
post("[send pd]"); post("[send pd]");
post(""); post("");
#else
// ag 20240915: I think that everybody got the memo by now, so
// just a quick and unobtrusive reminder should be enough.
post("warning: saving iemgui colors as hex symbol. For older Pd versions use: [; pd compatibility 0.47(");
#endif
color_format_warned = 1; color_format_warned = 1;
} }
snprintf(colname, MAXPDSTRING-1, "#%06x", col); snprintf(colname, MAXPDSTRING-1, "#%06x", col);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment