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
92c3f4a5
Commit
92c3f4a5
authored
Feb 27, 2010
by
Geoffroy Couprie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update.c: ifdef some win32 specific code
parent
00f8541d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/misc/update.c
src/misc/update.c
+4
-2
No files found.
src/misc/update.c
View file @
92c3f4a5
...
...
@@ -52,9 +52,9 @@
#include <gcrypt.h>
#include <vlc_gcrypt.h>
#ifdef WIN32
#include <shellapi.h>
#endif
#include "update.h"
#include "../libvlc.h"
...
...
@@ -732,6 +732,7 @@ static void* update_DownloadReal( vlc_object_t *p_this )
msg_Info
(
p_udt
,
"%s authenticated"
,
psz_destfile
);
free
(
p_hash
);
#ifdef WIN32
int
answer
=
dialog_Question
(
p_udt
,
_
(
"Update VLC media player"
),
_
(
"The new version was successfully downloaded. Do you want to close VLC and install it now?"
),
_
(
"Install"
),
_
(
"Cancel"
),
NULL
);
...
...
@@ -742,6 +743,7 @@ static void* update_DownloadReal( vlc_object_t *p_this )
if
(
answer
>
32
)
libvlc_Quit
(
p_this
->
p_libvlc
);
}
#endif
end:
if
(
p_progress
)
dialog_ProgressDestroy
(
p_progress
);
...
...
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