Changeset 255
- Timestamp:
- 10/17/06 10:43:25 (23 months ago)
- Files:
-
- 1 modified
-
trunk/src/PrintPter.cxx (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/PrintPter.cxx
r243 r255 108 108 if ( NULL != printerAndInstanceNames ) 109 109 { 110 gchar *printerName; 110 111 gchar *slashPosition = g_strrstr (printerAndInstanceNames, "/"); 111 *slashPosition = '\0'; 112 gchar *printerName = g_strdup (printerAndInstanceNames); 113 *slashPosition = '/'; 114 112 if ( NULL != slashPosition ) 113 { 114 *slashPosition = '\0'; 115 printerName = g_strdup (printerAndInstanceNames); 116 *slashPosition = '/'; 117 } 118 else 119 { 120 printerName = g_strdup (printerAndInstanceNames); 121 } 122 115 123 float pageWidth; 116 124 float pageHeight;
