convert static const to #define

This commit is contained in:
Jeremie Roy 2013-04-24 12:15:40 +02:00
parent 83f176a5dc
commit fc5f5d3ec2

View File

@ -10,7 +10,8 @@
#include <math.h>
#include <stddef.h> /* offsetof */
const uint16_t MAX_TEXT_BUFFER_COUNT = 64;
#define MAX_TEXT_BUFFER_COUNT 64
#define MAX_BUFFERED_CHARACTERS 8192
long int fsize(FILE* _file)
{
@ -148,8 +149,6 @@ private:
(((_rgba >> 24) & 0xff) << 0);
}
static const uint32_t MAX_BUFFERED_CHARACTERS = 8192;
uint32_t m_styleFlags;
// color states