--- cups-1.2.1/scheduler/printers.c.str1776	2006-06-15 11:49:30.000000000 +0100
+++ cups-1.2.1/scheduler/printers.c	2006-06-15 11:49:36.000000000 +0100
@@ -665,7 +665,7 @@
 	   dp = (cupsd_printer_t *)cupsArrayNext(Printers))
 	if (dp != p && (dp->type & CUPS_PRINTER_DEFAULT))
 	{
-	  DefaultPrinter = p;
+	  DefaultPrinter = dp;
 	  break;
 	}
     }
