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
dfc7b1f9
Commit
dfc7b1f9
authored
Jan 10, 2011
by
twanvl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #59: cast to Char, not char, the former is wchar_t, the latter is a byte
parent
91f5ad82
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/util/string.cpp
src/util/string.cpp
+1
-1
No files found.
src/util/string.cpp
View file @
dfc7b1f9
...
@@ -439,7 +439,7 @@ String regex_escape(Char c) {
...
@@ -439,7 +439,7 @@ String regex_escape(Char c) {
/// Escape a string for use in regular expressions
/// Escape a string for use in regular expressions
String
regex_escape
(
const
String
&
s
)
{
String
regex_escape
(
const
String
&
s
)
{
String
ret
;
String
ret
;
FOR_EACH_CONST
(
c
,
s
)
ret
+=
regex_escape
(
static_cast
<
c
har
>
(
c
));
FOR_EACH_CONST
(
c
,
s
)
ret
+=
regex_escape
(
static_cast
<
C
har
>
(
c
));
return
ret
;
return
ret
;
}
}
...
...
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