Skip to content

Commit 362b9a5

Browse files
author
tina227
committed
コーディングをオリジナルコードに合わせました2
1 parent f6b84eb commit 362b9a5

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

libcob/common.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2681,16 +2681,16 @@ cob_acuw_calledby (unsigned char *data)
26812681

26822682
if (cob_current_module->cob_procedure_parameters[0]) {
26832683
f1 = cob_current_module->cob_procedure_parameters[0];
2684-
if (cob_current_module->next == NULL){
2684+
if (cob_current_module->next == NULL) {
26852685
memset (f1->data, ' ', (int)f1->size);
26862686
return 0;
2687-
}else{
2687+
} else {
26882688
called_program_name = (const char *)cob_current_module->next->program_id;
2689-
if (called_program_name == NULL){
2689+
if (called_program_name == NULL) {
26902690
return -1;
26912691
}
26922692
length = (int)f1->size;
2693-
if (strlen (called_program_name) < length){
2693+
if (strlen (called_program_name) < length) {
26942694
length = strlen (called_program_name);
26952695
}
26962696
memcpy (f1->data, called_program_name, length);

libcob/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ struct cob_module {
351351
const unsigned char flag_binary_truncate;
352352
const unsigned char flag_pretty_display;
353353
const unsigned char spare8;
354-
char *program_id;
354+
char *program_id;
355355
};
356356

357357
/*******************************/

0 commit comments

Comments
 (0)