Set color palette size to 256

Required by vte 0.40.0
This commit is contained in:
Mark Oteiza 2015-04-10 05:39:53 -04:00
parent 0928a1112a
commit fa1943c76e
1 changed files with 1 additions and 1 deletions

View File

@ -1188,7 +1188,7 @@ get_config_cairo_color(GKeyFile *config, const char *group, const char *key) {
}
static void load_theme(GtkWindow *window, VteTerminal *vte, GKeyFile *config, hint_info &hints) {
std::array<GdkRGBA, 255> palette;
std::array<GdkRGBA, 256> palette;
char color_key[] = "color000";
for (unsigned i = 0; i < palette.size(); i++) {