refactor font api
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
This commit is contained in:
parent
9fc659b652
commit
0de09207a4
31 changed files with 12209 additions and 6149 deletions
|
|
@ -18,9 +18,9 @@ void* MwDirectoryOpen(const char* path) {
|
|||
#ifdef _WIN32
|
||||
char* p = malloc(strlen(path) + 2 + 1);
|
||||
strcpy(p, path);
|
||||
if(strchr(path, '/') != NULL){
|
||||
if(strchr(path, '/') != NULL) {
|
||||
strcat(p, "/");
|
||||
}else{
|
||||
} else {
|
||||
strcat(p, "\\");
|
||||
}
|
||||
strcat(p, "*");
|
||||
|
|
@ -78,7 +78,7 @@ MwDirectoryEntry* MwDirectoryRead(void* handle) {
|
|||
l = (ULARGE_INTEGER*)&dir->ffd.ftLastWriteTime;
|
||||
|
||||
entry->mtime = l->QuadPart / 10000000 - 11644473600;
|
||||
|
||||
|
||||
dir->next = FindNextFile(dir->hFind, &dir->ffd);
|
||||
#else
|
||||
struct dirent* d;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue