gbelo / gBrogue

gBrogue: A community-driven fork of the roguelike Brogue
38 stars 4 forks source link

[curses-build] - duplicate case value in curses-platform.c (function curses_plotChar) #4

Open furquan-lp opened 7 years ago

furquan-lp commented 7 years ago

The curses build does not compile on Linux. GCC error:

PlatformCode/curses-platform.c: In function ‘curses_plotChar’:
PlatformCode/curses-platform.c:78:2: error: duplicate case value
  case MOLOCH_CHAR: ch = '&'; break;
  ^~~~
PlatformCode/curses-platform.c:77:2: note: previously used here
  case STATUE_CHAR: ch = '5'; break;
  ^~~~
flend commented 6 years ago

This is addressed in https://github.com/gbelo/gBrogue/pull/7