Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
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
videolan
vlc-2-2
Commits
5e56e467
Commit
5e56e467
authored
Apr 24, 2006
by
Olivier Teulière
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* skins2/parser/interpreter.cpp: Fixed a crash when using an action of the form "foo;"
parent
3d8de5ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
modules/gui/skins2/parser/interpreter.cpp
modules/gui/skins2/parser/interpreter.cpp
+8
-0
No files found.
modules/gui/skins2/parser/interpreter.cpp
View file @
5e56e467
...
...
@@ -174,6 +174,14 @@ CmdGeneric *Interpreter::parseAction( const string &rAction, Theme *pTheme )
// Now remove any whitespace at the beginning of the right part,
// and go on checking for further actions in it...
rightPart
=
rightPart
.
substr
(
pos
,
rightPart
.
size
()
);
if
(
rightPart
.
find_first_not_of
(
"
\t
;"
)
==
string
::
npos
)
{
// The right part is completely buggy, it's time to leave the
// loop...
rightPart
=
""
;
break
;
}
rightPart
=
rightPart
.
substr
(
rightPart
.
find_first_not_of
(
"
\t
;"
),
rightPart
.
size
()
);
...
...
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