1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-08 11:26:59 +02:00

That one wasn't even Latin-1

This commit is contained in:
Rémi Denis-Courmont 2006-02-01 18:08:49 +00:00
parent adc858d87a
commit 088dd2ed76

View File

@ -17,7 +17,7 @@
// //
// A4Stuff.h contains the definition of EnterCodeResource and // A4Stuff.h contains the definition of EnterCodeResource and
// EnterCodeResource, used for setting up the code resourceÕs // EnterCodeResource, used for setting up the code resources
// globals for 68K (analagous to the function SetCurrentA5 // globals for 68K (analagous to the function SetCurrentA5
// defined by the toolbox). // defined by the toolbox).
// //
@ -183,9 +183,9 @@ static void* SetupTVtoFPGlue(TTVtoFPGlue* functionGlue, void* tvp)
//:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#if !TARGET_API_MAC_CARBON #if !TARGET_API_MAC_CARBON
QDGlobals* gQDPtr; // Pointer to NetscapeÕs QuickDraw globals QDGlobals* gQDPtr; // Pointer to Netscapes QuickDraw globals
#endif #endif
short gResFile; // Refnum of the pluginÕs resource file short gResFile; // Refnum of the plugins resource file
NPNetscapeFuncs gNetscapeFuncs; // Function table for procs in Netscape called by plugin NPNetscapeFuncs gNetscapeFuncs; // Function table for procs in Netscape called by plugin
//:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
@ -567,7 +567,7 @@ void SetUpQD(void)
#endif #endif
// //
// Memorize the pluginÕs resource file // Memorize the plugins resource file
// refnum for later use. // refnum for later use.
// //
gResFile = CurResFile(); gResFile = CurResFile();
@ -614,7 +614,7 @@ void SetUpQD(void)
// //
// Now that we know the app name and FSSpec, we can call GetDiskFragment // Now that we know the app name and FSSpec, we can call GetDiskFragment
// to get a connID to use in a subsequent call to FindSymbol (it will also // to get a connID to use in a subsequent call to FindSymbol (it will also
// return the address of ÒmainÓ in app, which we ignore). If GetDiskFragment // return the address of “main” in app, which we ignore). If GetDiskFragment
// returns an error, we assume the app must be 68K. // returns an error, we assume the app must be 68K.
// //
Ptr mainAddr; Ptr mainAddr;
@ -627,7 +627,7 @@ void SetUpQD(void)
{ {
// //
// The app is a PPC code fragment, so call FindSymbol // The app is a PPC code fragment, so call FindSymbol
// to get the exported ÒqdÓ symbol so we can access its // to get the exported “qd” symbol so we can access its
// QuickDraw globals. // QuickDraw globals.
// //
CFragSymbolClass symClass; CFragSymbolClass symClass;
@ -685,11 +685,11 @@ DEFINE_API_C(NPError) main(NPNetscapeFuncs* nsTable, NPPluginFuncs* pluginFuncs,
err = NPERR_INVALID_FUNCTABLE_ERROR; err = NPERR_INVALID_FUNCTABLE_ERROR;
// //
// Check the ÒmajorÓ version passed in NetscapeÕs function table. // Check the “major” version passed in Netscapes function table.
// We wonÕt load if the major version is newer than what we expect. // We wont load if the major version is newer than what we expect.
// Also check that the function tables passed in are big enough for // Also check that the function tables passed in are big enough for
// all the functions we need (they could be bigger, if Netscape added // all the functions we need (they could be bigger, if Netscape added
// new APIs, but thatÕs OK with us -- weÕll just ignore them). // new APIs, but thats OK with us -- well just ignore them).
// //
if (err == NPERR_NO_ERROR) if (err == NPERR_NO_ERROR)
{ {
@ -701,7 +701,7 @@ DEFINE_API_C(NPError) main(NPNetscapeFuncs* nsTable, NPPluginFuncs* pluginFuncs,
if (err == NPERR_NO_ERROR) if (err == NPERR_NO_ERROR)
{ {
// //
// Copy all the fields of NetscapeÕs function table into our // Copy all the fields of Netscapes function table into our
// copy so we can call back into Netscape later. Note that // copy so we can call back into Netscape later. Note that
// we need to copy the fields one by one, rather than assigning // we need to copy the fields one by one, rather than assigning
// the whole structure, because the Netscape function table // the whole structure, because the Netscape function table