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
00fa060e
Commit
00fa060e
authored
Oct 21, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Shorter version
parent
f57eaf6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/gui/wxwidgets/wxwidgets.hpp
modules/gui/wxwidgets/wxwidgets.hpp
+4
-4
No files found.
modules/gui/wxwidgets/wxwidgets.hpp
View file @
00fa060e
...
@@ -132,15 +132,15 @@ static inline char *wxDnDFromLocale( const wxChar *stupid )
...
@@ -132,15 +132,15 @@ static inline char *wxDnDFromLocale( const wxChar *stupid )
for
(
braindead
=
stupid
;
*
braindead
;
braindead
++
);
for
(
braindead
=
stupid
;
*
braindead
;
braindead
++
);
size_t
i
=
(
braindead
-
stupid
);
size_t
i
=
(
braindead
-
stupid
);
// Some X11 file browsers append a line feed to the filename...
if
(
stupid
[
i
]
==
'\n'
)
stupid
[
i
]
=
0
;
char
psz_local
[
i
+
1
];
char
psz_local
[
i
+
1
];
do
do
psz_local
[
i
]
=
(
char
)
stupid
[
i
];
psz_local
[
i
]
=
(
char
)
stupid
[
i
];
while
(
i
--
);
while
(
i
--
);
char
*
dumb_peer_app
=
strrchr
(
psz_local
,
'\n'
);
if
(
dump_peer_app
!=
NULL
)
dumb_peer_app
=
0
;
return
FromLocaleDup
(
psz_local
);
return
FromLocaleDup
(
psz_local
);
}
}
# define wxDnDLocaleFree( string ) free( string )
# define wxDnDLocaleFree( string ) free( string )
...
...
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