If/then without curly braces?

if (TRANSMITPERIOD == 0) TRANSMITPERIOD = 1000;
      Serial.print("\nChanging delay to ");
      Serial.print(TRANSMITPERIOD);

So in the above code, for instance, TRANSMITPERIOD = 1000 is executed if the if (TRANSMITPERIOD == 0) test is true, but Serial.print("\nChanging delay to ") and Serial.print(TRANSMITPERIOD), do not depend on the if test and are always executed. If TRANSMITPERIOD is 0 it will be changed to 1000 otherwise it will be whatever value it had before the if test. Correct?