Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
ygopro-core
Commits
4ba2a90f
Commit
4ba2a90f
authored
Jul 11, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "unicode script filename in windows"
This reverts commit
dd955dba
.
parent
dd955dba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
ocgapi.cpp
ocgapi.cpp
+0
-7
No files found.
ocgapi.cpp
View file @
4ba2a90f
...
@@ -13,7 +13,6 @@
...
@@ -13,7 +13,6 @@
#include "effect.h"
#include "effect.h"
#include "field.h"
#include "field.h"
#include "interpreter.h"
#include "interpreter.h"
#include "../gframe/bufferio.h"
#include <set>
#include <set>
script_reader
sreader
=
default_script_reader
;
script_reader
sreader
=
default_script_reader
;
...
@@ -42,13 +41,7 @@ uint32 handle_message(void* pduel, uint32 msg_type) {
...
@@ -42,13 +41,7 @@ uint32 handle_message(void* pduel, uint32 msg_type) {
}
}
byte
*
default_script_reader
(
const
char
*
script_name
,
int
*
slen
)
{
byte
*
default_script_reader
(
const
char
*
script_name
,
int
*
slen
)
{
FILE
*
fp
;
FILE
*
fp
;
#ifdef _WIN32
wchar_t
fname
[
256
];
BufferIO
::
DecodeUTF8
(
script_name
,
fname
);
fp
=
_wfopen
(
fname
,
L"rb"
);
#else
fp
=
fopen
(
script_name
,
"rb"
);
fp
=
fopen
(
script_name
,
"rb"
);
#endif
if
(
!
fp
)
if
(
!
fp
)
return
0
;
return
0
;
fseek
(
fp
,
0
,
SEEK_END
);
fseek
(
fp
,
0
,
SEEK_END
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment