[BACK]Return to patch-src_map_handler_c CVS log [TXT][DIR] Up to [local] / qmapshack / gpsdrive / patches

Annotation of qmapshack/gpsdrive/patches/patch-src_map_handler_c, Revision 1.1

1.1     ! kirby       1: $OpenBSD$
        !             2: --- src/map_handler.c.orig     Sat Sep 15 09:32:42 2007
        !             3: +++ src/map_handler.c  Sun Oct  7 15:44:59 2007
        !             4: @@ -660,9 +660,12 @@ loadmap (char *filename)
        !             5:    if (maploaded)
        !             6:      gdk_pixbuf_unref (image);
        !             7:
        !             8: +#ifdef MAPNIK
        !             9:    if ( !strcmp (filename,"mapnik") ) {
        !            10:          limage = gdk_pixbuf_new_from_data(get_mapnik_imagedata(), GDK_COLORSPACE_RGB, FALSE, 8, 1280, 1024, 1280 * 3, NULL, NULL);
        !            11: -  } else {
        !            12: +  } else
        !            13: +#endif
        !            14: +  {
        !            15:          limage = gdk_pixbuf_new_from_file (filename, NULL);
        !            16:          if (limage == NULL)
        !            17:            {

CVSweb