Don't even attempt to parse -bpp in xfree86 DDX option parsing.
This hasn't been valid since 1999. Get with the times, man.
This commit is contained in:
		
							parent
							
								
									ef77e4c441
								
							
						
					
					
						commit
						2aaf6ac134
					
				| 
						 | 
					@ -1566,15 +1566,6 @@ ddxProcessArgument(int argc, char **argv, int i)
 | 
				
			||||||
    xf86sFlag = TRUE;
 | 
					    xf86sFlag = TRUE;
 | 
				
			||||||
    return 0;
 | 
					    return 0;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  if (!strcmp(argv[i], "-bpp"))
 | 
					 | 
				
			||||||
  {
 | 
					 | 
				
			||||||
    ErrorF("The -bpp option is no longer supported.\n"
 | 
					 | 
				
			||||||
	"\tUse -depth to set the color depth, and use -fbbpp if you really\n"
 | 
					 | 
				
			||||||
	"\tneed to force a non-default framebuffer (hardware) pixel format.\n");
 | 
					 | 
				
			||||||
    if (++i >= argc)
 | 
					 | 
				
			||||||
      return 1;
 | 
					 | 
				
			||||||
    return 2;
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
  if (!strcmp(argv[i], "-pixmap24"))
 | 
					  if (!strcmp(argv[i], "-pixmap24"))
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
    xf86Pix24 = Pix24Use24;
 | 
					    xf86Pix24 = Pix24Use24;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue