unsigned int subType = 0; unsigned int subSize = 0; unsigned int curPos = 0; SCPTVARS *newVARS = NULL; ReqRecordField*newSCR_ = NULL; while(curPos < recSize){ _readBuffer(&subType,buffer,4,curPos); switch(subType) { case eXXXX: curPos += 2; _readBuffer(&subSize,buffer,4,curPos); _readBuffer(&subType,buffer,4,curPos); curPos += 2; break; default: subSize = 0; _readBuffer(&subSize,buffer,2,curPos); break; } switch(subType) { case eEDID: EDID.Read(buffer, subSize, curPos); break; case eSCHR: SCHR.Read(buffer, subSize, curPos); break; case eSCDA: SCDA.Read(buffer, subSize, curPos); break; case eSCTX: SCTX.Read(buffer, subSize, curPos); break; case eSLSD: newVARS = new SCPTVARS; newVARS->SLSD.Read(buffer, subSize, curPos); VARS.push_back(newVARS); break; case eSCVR: if(newVARS == NULL) { newVARS = new SCPTVARS; VARS.push_back(newVARS); } newVARS->SCVR.Read(buffer, subSize, curPos); break; case eSCRV: newSCR_ = new ReqRecordField ; newSCR_->Read(buffer, subSize, curPos); newSCR_->value.isSCRO = false; SCR_.push_back(newSCR_); break; case eSCRO: newSCR_ = new ReqRecordField ; newSCR_->Read(buffer, subSize, curPos); newSCR_->value.isSCRO = true; SCR_.push_back(newSCR_); break; default: //printf("FileName = %s\n", FileName); printf(" SCPT: Unknown subType = %04x\n", subType); printf(" Size = %i\n", subSize); printf(" CurPos = %04x\n\n", recStart + curPos - 6); curPos = recSize; break; } };
dataDirsMinus = set(('bash','obse','replacers')) #--Will be skipped even if hasixtraData =http://forums.bethsoft.com/index.php?/topic/1092258-relz-wrye-bash-thread-no-42/= True.(somewhere around line 9524 depending on version)... adviseable well it is slightly less safe - but if you are know what you are doing it is fine... really up to you. (but totally unsupported and use at your own risk etc.)
self.java = GPath(os.environ['SYSTEMROOT']).join('system32','javaw.exe')
self.java = GPath('/usr/bin/java')
self.java = GPath(os.environ['SYSTEMROOT']).join('system32','javaw.exe')
self.java = GPath('/usr/bin/java')
progress.Update(80,_("Initializing Windows"))
progress.Update(80,_("Initializing Windows"))
progress.Update(80,_("Initializing Windows"))is
progress.Destroy(). Moving the Destroy line after the Update line avoids the crash, and still updates the progress bar (like I assume it was intended to).