HomePhabricator
Diffusion MITK ff9ca2f439c0

Fix num of chars in strncmp()

Description

Fix num of chars in strncmp()

The comparison included the terminating null character and therefore
never matched. I also added a nullptr element to argv that is not
counted in argc as it is defined this way in the standard for argc
and argv.

Details

Provenance
kislinskAuthored on Jan 11 2021, 11:10 PM
kislinskPushed on Jan 11 2021, 11:10 PM
Parents
rMITK2e864760744f: Merge branch 'bugfix/T28137-FixMissingContextMenuEntries' into develop
Branches
Unknown
Tags
Unknown