Skip to content

Commit

Permalink
Fixed #76 - comment insertion with uncrustify was not working (cmt_in…
Browse files Browse the repository at this point in the history
…sert_file_header, cmt_insert_file_footer)
  • Loading branch information
Benoit committed Jan 1, 2015
1 parent 21648c6 commit 5cadb24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/CFOUncrustifyFormatter.m
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ - (NSArray *)fragmentsByFormattingInputAtRanges:(NSArray *)ranges error:(NSError

NSURL *configurationFileURL = self.configurationFileURL;

if (!isFragmented) {
if (isFragmented) {
NSString *configuration = [[NSString alloc] initWithContentsOfURL:self.configurationFileURL encoding:NSUTF8StringEncoding error:&error];
if (!configuration) {
if (outError) {
Expand Down

0 comments on commit 5cadb24

Please sign in to comment.