mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
small update
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4432 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
ed407b8f81
commit
f975113d10
1 changed files with 2 additions and 3 deletions
|
@ -165,8 +165,7 @@ JNIEXPORT void JNICALL Java_com_fteqw_FTEDroidEngine_openfile(JNIEnv *env, jobje
|
|||
jstring openfile)
|
||||
{
|
||||
const char *fname = (*env)->GetStringUTFChars(env, openfile, NULL);
|
||||
Host_RunFile(fname);
|
||||
Host_Frame
|
||||
Host_RunFile(fname, strlen(fname), NULL);
|
||||
(*env)->ReleaseStringUTFChars(env, openfile, fname);
|
||||
}
|
||||
|
||||
|
@ -447,7 +446,7 @@ void Sys_SaveClipboard(char *text)
|
|||
{
|
||||
}
|
||||
|
||||
int Sys_EnumerateFiles (const char *gpath, const char *match, int (*func)(const char *, int, void *, void *), void *parm, void *spath)
|
||||
int Sys_EnumerateFiles (const char *gpath, const char *match, int (*func)(const char *, int, void *, searchpathfuncs_t *), void *parm, searchpathfuncs_t *spath)
|
||||
{
|
||||
DIR *dir;
|
||||
char apath[MAX_OSPATH];
|
||||
|
|
Loading…
Reference in a new issue