Skip to content

Commit

Permalink
Shorten the iemgui hex color symbol warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
agraef committed Sep 15, 2024
1 parent de36ab3 commit f34e148
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pd/src/g_all_guis.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ static t_symbol *color2symbol(int col)
{
if (!color_format_warned)
{
#if 0
post("warning: saving iemgui colors as hex symbol. These colors "
"are readable in Pd Vanilla since 0.47, but they are not "
"readable in Purr Data version 2.12.0 or earlier. "
Expand All @@ -164,6 +165,11 @@ static t_symbol *color2symbol(int col)
post("|");
post("[send pd]");
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;
}
snprintf(colname, MAXPDSTRING-1, "#%06x", col);
Expand Down

0 comments on commit f34e148

Please sign in to comment.