mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 03:44:55 +00:00 
			
		
		
		
	Get rid of incorrect use of OSAGetCurrentDialect. Fixes #884085.
This commit is contained in:
		
							parent
							
								
									3fc2fde7ff
								
							
						
					
					
						commit
						75694501ca
					
				
					 1 changed files with 0 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -28,8 +28,6 @@ PyOSA_GetAppTerminology(PyObject* self, PyObject* args)
 | 
			
		|||
	defaultComponent = OpenDefaultComponent (kOSAComponentType, 'ascr');
 | 
			
		||||
	err = GetComponentInstanceError (defaultComponent);
 | 
			
		||||
	if (err) return PyMac_Error(err);
 | 
			
		||||
	err = OSAGetCurrentDialect(defaultComponent, &defaultTerminology);
 | 
			
		||||
	if (err) return PyMac_Error(err);	
 | 
			
		||||
	err = OSAGetAppTerminology (
 | 
			
		||||
    	defaultComponent, 
 | 
			
		||||
    	modeFlags,
 | 
			
		||||
| 
						 | 
				
			
			@ -59,8 +57,6 @@ PyOSA_GetSysTerminology(PyObject* self, PyObject* args)
 | 
			
		|||
	defaultComponent = OpenDefaultComponent (kOSAComponentType, 'ascr');
 | 
			
		||||
	err = GetComponentInstanceError (defaultComponent);
 | 
			
		||||
	if (err) return PyMac_Error(err);
 | 
			
		||||
	err = OSAGetCurrentDialect(defaultComponent, &defaultTerminology);
 | 
			
		||||
	if (err) return PyMac_Error(err);	
 | 
			
		||||
	err = OSAGetAppTerminology (
 | 
			
		||||
    	defaultComponent, 
 | 
			
		||||
    	modeFlags,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue