camel case

This commit is contained in:
Riccardo Mottola 2021-07-19 01:47:32 +02:00
parent b7cfa30f20
commit 7c30ee1f38
2 changed files with 5 additions and 5 deletions

View file

@ -52,7 +52,7 @@ typedef enum PCDebuggerOutputType_enum {
NSTask *task;
NSFileHandle *stdinHandle;
NSFileHandle *stdoutHandle;
NSFileHandle *error_handle;
NSFileHandle *errorHandle;
NSColor *userInputColor;
NSColor *debuggerColor;

View file

@ -666,7 +666,7 @@
- (void) logErrOut:(NSNotification *)aNotif
{
NSData *data;
NSFileHandle *handle = error_handle;
NSFileHandle *handle = errorHandle;
if ((data = [handle availableData]) && [data length] > 0)
{
@ -754,13 +754,13 @@
if(logError)
{
[task setStandardError: [NSPipe pipe]];
error_handle = [[task standardError] fileHandleForReading];
[error_handle waitForDataInBackgroundAndNotify];
errorHandle = [[task standardError] fileHandleForReading];
[errorHandle waitForDataInBackgroundAndNotify];
[NOTIFICATION_CENTER addObserver:self
selector:@selector(logErrOut:)
name:NSFileHandleDataAvailableNotification
object:error_handle];
object:errorHandle];
}
// set up notifications to get data.