Permalink
Browse files

Fixing compile warnings

  • Loading branch information...
1 parent bead1d2 commit fdcda2b88351bae7b08d73ab8d3c646b5e998869 Stewart Gleadow committed Sep 17, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −1 KeyboardCommand.m
  2. +1 −0 src/UIView+FrankGestures.m
View
@@ -34,7 +34,7 @@ - (NSString *)generateKeyboardNotPresentErrorResponse {
- (NSString *)generateFailedToEnterCharacterErrorResponse:(NSString *)characterWhichFailed {
return [FranklyProtocolHelper generateErrorResponseWithReason:@"failed to type character"
- andDetails:[NSString stringWithFormat:@"We were unable to type the character '%@'. This is probably because we couldn't find it on the keyboard. Please report this to the frank-discuss mailing list."]];
+ andDetails:[NSString stringWithFormat:@"We were unable to type the character '%@'. This is probably because we couldn't find it on the keyboard. Please report this to the frank-discuss mailing list.", characterWhichFailed]];
}
- (NSString *)handleCommandWithRequestBody:(NSString *)requestBody {
@@ -32,6 +32,7 @@ CGSize swipeDeltasForDirection(NSString *direction, int pixels){
return CGSizeMake(SMALL_DELTA, pixels);
}else{
[NSException raise:@"invalid swipe direction" format:@"swipe direction '%@' is invalid", direction];
+ return CGSizeZero;
}
}

0 comments on commit fdcda2b

Please sign in to comment.