Skip to content

Commit f34e148

Browse files
committed
Shorten the iemgui hex color symbol warning.
1 parent de36ab3 commit f34e148

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

pd/src/g_all_guis.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ static t_symbol *color2symbol(int col)
153153
{
154154
if (!color_format_warned)
155155
{
156+
#if 0
156157
post("warning: saving iemgui colors as hex symbol. These colors "
157158
"are readable in Pd Vanilla since 0.47, but they are not "
158159
"readable in Purr Data version 2.12.0 or earlier. "
@@ -164,6 +165,11 @@ static t_symbol *color2symbol(int col)
164165
post("|");
165166
post("[send pd]");
166167
post("");
168+
#else
169+
// ag 20240915: I think that everybody got the memo by now, so
170+
// just a quick and unobtrusive reminder should be enough.
171+
post("warning: saving iemgui colors as hex symbol. For older Pd versions use: [; pd compatibility 0.47(");
172+
#endif
167173
color_format_warned = 1;
168174
}
169175
snprintf(colname, MAXPDSTRING-1, "#%06x", col);

0 commit comments

Comments
 (0)