Fix comment formatting.

This commit is contained in:
Michael Jumper 2012-09-27 22:04:33 -07:00
parent c45ff69dca
commit 99ec71dcde

View File

@ -321,14 +321,14 @@ int guac_client_init(guac_client* client, int argc, char** argv) {
settings->encryption_method = ENCRYPTION_METHOD_40BIT | ENCRYPTION_METHOD_128BIT | ENCRYPTION_METHOD_FIPS; settings->encryption_method = ENCRYPTION_METHOD_40BIT | ENCRYPTION_METHOD_128BIT | ENCRYPTION_METHOD_FIPS;
settings->encryption_level = ENCRYPTION_LEVEL_CLIENT_COMPATIBLE; settings->encryption_level = ENCRYPTION_LEVEL_CLIENT_COMPATIBLE;
/* session width */ /* Session width */
settings->width = 1024; settings->width = 1024;
if (argv[IDX_WIDTH][0] != '\0') if (argv[IDX_WIDTH][0] != '\0')
settings->width = atoi(argv[IDX_WIDTH]); settings->width = atoi(argv[IDX_WIDTH]);
if (settings->width == 0) if (settings->width == 0)
settings->width = 1024; settings->width = 1024;
/* session height */ /* Session height */
settings->height = 768; settings->height = 768;
if (argv[IDX_HEIGHT][0] != '\0') if (argv[IDX_HEIGHT][0] != '\0')
settings->height = atoi(argv[IDX_HEIGHT]); settings->height = atoi(argv[IDX_HEIGHT]);
@ -358,7 +358,7 @@ int guac_client_init(guac_client* client, int argc, char** argv) {
if (argv[IDX_INITIAL_PROGRAM][0] != '\0') if (argv[IDX_INITIAL_PROGRAM][0] != '\0')
settings->shell = strdup(argv[IDX_INITIAL_PROGRAM]); settings->shell = strdup(argv[IDX_INITIAL_PROGRAM]);
/* session color depth */ /* Session color depth */
settings->color_depth = 16; settings->color_depth = 16;
if (argv[IDX_COLOR_DEPTH][0] != '\0') if (argv[IDX_COLOR_DEPTH][0] != '\0')
settings->color_depth = atoi(argv[IDX_COLOR_DEPTH]); settings->color_depth = atoi(argv[IDX_COLOR_DEPTH]);