Minor fix: the slides string is not auto-deleted anymore, so we have to
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3227 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
+4
-2
@@ -287,8 +287,10 @@ Present_DrawMovieFrame (PRESENTATION_INPUT_STATE* pPIS)
|
|||||||
BOOLEAN
|
BOOLEAN
|
||||||
ShowPresentationFile (const char *name)
|
ShowPresentationFile (const char *name)
|
||||||
{
|
{
|
||||||
return ShowSlidePresentation (CaptureStringTable (
|
STRING pres = CaptureStringTable (LoadStringTableFile (contentDir, name));
|
||||||
LoadStringTableFile (contentDir, name)));
|
BOOLEAN result = ShowSlidePresentation (pres);
|
||||||
|
DestroyStringTable (ReleaseStringTable (pres));
|
||||||
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
static BOOLEAN
|
static BOOLEAN
|
||||||
|
|||||||
Reference in New Issue
Block a user