[PC-BSD Commits] r664 - pcbsd/trunk/XGUISource

svn at pcbsd.org svn at pcbsd.org
Wed Sep 5 09:12:42 PDT 2007


Author: kris
Date: 2007-09-05 09:12:42 -0700 (Wed, 05 Sep 2007)
New Revision: 664

Modified:
   pcbsd/trunk/XGUISource/xgui.ui.h
Log:

Fixed bug with getting the active driver version from xorg.conf



Modified: pcbsd/trunk/XGUISource/xgui.ui.h
===================================================================
--- pcbsd/trunk/XGUISource/xgui.ui.h	2007-09-05 01:53:00 UTC (rev 663)
+++ pcbsd/trunk/XGUISource/xgui.ui.h	2007-09-05 16:12:42 UTC (rev 664)
@@ -61,7 +61,7 @@
 
 
    // First try to determine which driver is being used now
-   Command="cat /etc/X11/xorg.conf | grep ' Driver' | grep -v 'keyboard' | grep -v 'mouse' | grep -v 'options' | cut -d '\"' -f 2 | cut -d ' ' -f 1";
+   Command="cat /etc/X11/xorg.conf | grep 'Driver' | grep -v 'keyboard' | grep -v 'mouse' | grep -v 'options' | cut -d '\"' -f 2 | cut -d ' ' -f 1";
    FILE *readfile = popen(Command, "r");
    char buffer[100];
    line = "";



More information about the Commits mailing list