Fix one more compiling error
(was using outdated SearchModel.h so reverted to official version)
This commit is contained in:
parent
f8f70a3f77
commit
66af9969d6
@ -181,7 +181,7 @@ extern unsigned char ZSIZE;
|
|||||||
|
|
||||||
#ifdef WIN
|
#ifdef WIN
|
||||||
#define strcasecmp stricmp
|
#define strcasecmp stricmp
|
||||||
#endif //_MSC_VER
|
#endif
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
#define fmin(a,b) (((a) < (b)) ? (a) : (b))
|
#define fmin(a,b) (((a) < (b)) ? (a) : (b))
|
||||||
#define fminf(a,b) (((a) < (b)) ? (a) : (b))
|
#define fminf(a,b) (((a) < (b)) ? (a) : (b))
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <iterator>
|
#include <iterator>
|
||||||
#include "zlib.h"
|
#include <zlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "Format.h"
|
#include "Format.h"
|
||||||
#include "graphics/Graphics.h"
|
#include "graphics/Graphics.h"
|
||||||
|
@ -61,7 +61,7 @@ public:
|
|||||||
vector<SaveInfo*> GetSaveList();
|
vector<SaveInfo*> GetSaveList();
|
||||||
vector<pair<string, int> > GetTagList();
|
vector<pair<string, int> > GetTagList();
|
||||||
string GetLastError() { return lastError; }
|
string GetLastError() { return lastError; }
|
||||||
int GetPageCount() { return max(1, (int)(ceil(resultCount/16))); }
|
int GetPageCount() { return max(1, (int)(ceil(resultCount/16.0f))); }
|
||||||
int GetPageNum() { return currentPage; }
|
int GetPageNum() { return currentPage; }
|
||||||
std::string GetLastQuery() { return lastQuery; }
|
std::string GetLastQuery() { return lastQuery; }
|
||||||
void SetSort(string sort) { if(!updateSaveListWorking) { currentSort = sort; } notifySortChanged(); }
|
void SetSort(string sort) { if(!updateSaveListWorking) { currentSort = sort; } notifySortChanged(); }
|
||||||
|
Loading…
Reference in New Issue
Block a user