Changeset 419


Ignore:
Timestamp:
Feb 11, 2013, 10:00:01 PM (13 years ago)
Author:
dmik
Message:

icedtea-web: Fix small build break after r418.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/icedtea-web/plugin/icedteanp/IcedTeaNPPlugin.cc

    r418 r419  
    317317
    318318
    319 /* 
     319/*
    320320 * Find first member in GHashTable* depending on version of glib
    321321 */
     
    12031203  NPVariant href;
    12041204  NPIdentifier href_id = browser_functions.getstringidentifier("href");
    1205   browser_functions.getproperty(instance, NPVARIANT_TO_OBJECT(location), 
     1205  browser_functions.getproperty(instance, NPVARIANT_TO_OBJECT(location),
    12061206                               href_id, &href);
    12071207
     
    18261826 * Replaces certain characters (\r, \n, etc) with HTML escape equivalents.
    18271827 *
    1828  * Return string is allocated on the heap. Caller assumes responsibility 
     1828 * Return string is allocated on the heap. Caller assumes responsibility
    18291829 * for freeing the memory via free()
    18301830 */
     
    18621862           orig_char[0] = to_encode[i];
    18631863           orig_char[1] = '\0';
    1864  
     1864
    18651865           strcat(encoded, orig_char);
    1866  
     1866
    18671867           free(orig_char);
    18681868           orig_char = NULL;
     
    23542354#endif
    23552355
    2356   // Re-setting the above tables multiple times is OK (as the 
    2357   // browser may change its function locations). However 
     2356  // Re-setting the above tables multiple times is OK (as the
     2357  // browser may change its function locations). However
    23582358  // anything beyond this point should only run once.
    23592359  if (initialized)
     
    23692369#endif
    23702370
     2371  NPError np_error = NPERR_NO_ERROR;
    23712372#ifndef __OS2__
    23722373  // Make sure the plugin data directory exists, creating it if
     
    23782379      return NPERR_OUT_OF_MEMORY_ERROR;
    23792380    }
    2380   NPError np_error = NPERR_NO_ERROR;
    2381   gchar* filename = NULL;
    23822381
    23832382  // If P_tmpdir does not exist, try /tmp directly
     
    25682567// handles.
    25692568#ifdef LEGACY_XULRUNNERAPI
    2570   char* 
     2569  char*
    25712570#else
    2572   const char* 
     2571  const char*
    25732572#endif
    25742573OSCALL NP_GetMIMEDescription ()
Note: See TracChangeset for help on using the changeset viewer.