summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-06-17 10:34:44 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-06-17 10:34:44 -0300
commit9f2f8c91302e5a1b66c39ee32420288398742d64 (patch)
tree082d71e00d299ee547b73e0e686dd507b0113d6e
parentf0d9245ecf981dada4595da0e525cc95a0caf785 (diff)
fixes compilation error on visual studio, closes #5249
-rw-r--r--scene/resources/default_theme/font_hidpi.inc3
-rw-r--r--scene/resources/default_theme/font_lodpi.inc3
2 files changed, 4 insertions, 2 deletions
diff --git a/scene/resources/default_theme/font_hidpi.inc b/scene/resources/default_theme/font_hidpi.inc
index 24be5fb908..2fc0f56c3f 100644
--- a/scene/resources/default_theme/font_hidpi.inc
+++ b/scene/resources/default_theme/font_hidpi.inc
@@ -196,7 +196,8 @@ static const int _hidpi_font_charrects[191][8]={
{95,218,166,10,2,21,0,10},
};
static const int _hidpi_font_kerning_pair_count=0;
-static const int _hidpi_font_kerning_pairs[0][3]={
+static const int _hidpi_font_kerning_pairs[1][3]={
+{0,0,0}
};
static const int _hidpi_font_img_width=256;
static const int _hidpi_font_img_height=512;
diff --git a/scene/resources/default_theme/font_lodpi.inc b/scene/resources/default_theme/font_lodpi.inc
index 52caeab78e..8eae45a8a7 100644
--- a/scene/resources/default_theme/font_lodpi.inc
+++ b/scene/resources/default_theme/font_lodpi.inc
@@ -196,7 +196,8 @@ static const int _lodpi_font_charrects[191][8]={
{95,92,148,6,1,12,0,6},
};
static const int _lodpi_font_kerning_pair_count=0;
-static const int _lodpi_font_kerning_pairs[0][3]={
+static const int _lodpi_font_kerning_pairs[1][3]={
+{0,0,0},
};
static const int _lodpi_font_img_width=128;
static const int _lodpi_font_img_height=256;