From e4af744efd53c06c2caf2f17b4f7f3f4dd60216b Mon Sep 17 00:00:00 2001 From: Mike Fulbright Date: Wed, 15 Aug 2001 17:17:45 +0000 Subject: darn --- textw/xconfig_text.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'textw') diff --git a/textw/xconfig_text.py b/textw/xconfig_text.py index 7098754a5..a21e058ff 100644 --- a/textw/xconfig_text.py +++ b/textw/xconfig_text.py @@ -551,17 +551,16 @@ class XConfigWindowCard: vidRam = 1024 count = 0 + self.selectedRam = 0 for size in self.videocard.possible_ram_sizes(): #--Cards such as Mach64 and ATI Rage Mobility report 64k less ram # than it should small = size - 64 if size == vidRam or small == vidRam: + self.selectedRam = count break count = count + 1 - print vidRam, count - - self.selectedRam = count try: vidRam = string.atoi(self.videocard.primaryCard(useProbed=1).getVideoRam()) @@ -569,15 +568,16 @@ class XConfigWindowCard: vidRam = 1024 count = 0 + self.origRam = 0 for size in self.videocard.possible_ram_sizes(): #--Cards such as Mach64 and ATI Rage Mobility report 64k less ram # than it should small = size - 64 if size == vidRam or small == vidRam: + self.origRam = count break count = count + 1 - self.origRam = count skipx = 0 while 1: -- cgit