Changeset 612 for cpp


Ignore:
Timestamp:
09/09/16 15:22:11 (8 years ago)
Author:
Maciej Komosinski
Message:

Updated after field rename

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/_demos/simil_test.cpp

    r606 r612  
    105105        iCurrParam++;
    106106        szCurrParam = argv[iCurrParam];
    107         nResult = sscanf(szCurrParam, " %d", &M.zFixed);
     107        nResult = sscanf(szCurrParam, " %d", &M.fixedZaxis);
    108108        if (nResult != 1)
    109109        {
     
    112112                return -1;
    113113        }
    114         else if (M.zFixed != 0 && M.zFixed != 1)
    115         {
    116                 printf("<isZFixed>=%d. <isZFixed> should be equal to 0 or 1\n", M.zFixed);
     114        else if (M.fixedZaxis != 0 && M.fixedZaxis != 1)
     115        {
     116                printf("<isZFixed>=%d. <isZFixed> should be equal to 0 or 1\n", M.fixedZaxis);
    117117                return -1;
    118118        }
Note: See TracChangeset for help on using the changeset viewer.