fix: optimized (now redundant) code
This commit is contained in:
		
							parent
							
								
									98fb7a32db
								
							
						
					
					
						commit
						ebca114c2e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -77,7 +77,7 @@ namespace SafeExamBrowser.Runtime.Operations | |||
| 				foreach (var cursor in cursors.Where(c => !string.IsNullOrWhiteSpace(c))) | ||||
| 				{ | ||||
| 					success &= registry.TryRead(RegistryValue.UserHive.Cursors_Key, cursor, out var value); | ||||
| 					success &= value == default || !(value is string) || (value is string path && (string.IsNullOrWhiteSpace(path) || IsValidCursorPath(path))); | ||||
| 					success &= !(value is string) || (value is string path && (string.IsNullOrWhiteSpace(path) || IsValidCursorPath(path))); | ||||
| 
 | ||||
| 					if (!success) | ||||
| 					{ | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Notselwyn
						Notselwyn