Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
magicseteditor
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
magicseteditor
Commits
ed59c5a8
Commit
ed59c5a8
authored
Aug 30, 2008
by
twanvl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor fixes for building with vs2008.
parent
2961a3be
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
src/cli/win32_cli_wrapper.cpp
src/cli/win32_cli_wrapper.cpp
+2
-0
src/data/action/value.hpp
src/data/action/value.hpp
+1
-1
src/script/context.cpp
src/script/context.cpp
+1
-1
No files found.
src/cli/win32_cli_wrapper.cpp
View file @
ed59c5a8
...
@@ -27,6 +27,8 @@
...
@@ -27,6 +27,8 @@
#define UNICODE
#define UNICODE
#define _UNICODE
#define _UNICODE
#define _CRT_SECURE_NO_WARNINGS
#include <windows.h>
#include <windows.h>
#include <tchar.h>
#include <tchar.h>
#include <stdio.h>
#include <stdio.h>
...
...
src/data/action/value.hpp
View file @
ed59c5a8
...
@@ -146,7 +146,7 @@ class ScriptStyleEvent : public Action {
...
@@ -146,7 +146,7 @@ class ScriptStyleEvent : public Action {
inline
ScriptStyleEvent
(
const
StyleSheet
*
stylesheet
,
const
Style
*
style
)
inline
ScriptStyleEvent
(
const
StyleSheet
*
stylesheet
,
const
Style
*
style
)
:
stylesheet
(
stylesheet
),
style
(
style
)
:
stylesheet
(
stylesheet
),
style
(
style
)
{}
{}
virtual
String
getName
(
bool
to_undo
)
const
;
virtual
String
getName
(
bool
to_undo
)
const
;
virtual
void
perform
(
bool
to_undo
);
virtual
void
perform
(
bool
to_undo
);
...
...
src/script/context.cpp
View file @
ed59c5a8
...
@@ -440,7 +440,7 @@ void instrBinary (BinaryInstructionType i, ScriptValueP& a, const ScriptValueP&
...
@@ -440,7 +440,7 @@ void instrBinary (BinaryInstructionType i, ScriptValueP& a, const ScriptValueP&
else
if
(
bi
==
1
)
a
=
to_script
(
aa
);
else
if
(
bi
==
1
)
a
=
to_script
(
aa
);
else
if
(
bi
==
2
)
a
=
to_script
(
aa
*
aa
);
else
if
(
bi
==
2
)
a
=
to_script
(
aa
*
aa
);
else
if
(
bi
==
3
)
a
=
to_script
(
aa
*
aa
*
aa
);
else
if
(
bi
==
3
)
a
=
to_script
(
aa
*
aa
*
aa
);
else
a
=
to_script
(
pow
(
aa
,
bi
));
else
a
=
to_script
(
pow
(
(
double
)
aa
,
bi
));
}
}
}
else
{
}
else
{
a
=
to_script
(
pow
((
double
)
*
a
,
(
double
)
*
b
));
a
=
to_script
(
pow
((
double
)
*
a
,
(
double
)
*
b
));
...
...
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