Просмотр исходного кода

world: code-style: separate different function call blocks

Daniele Bartolini 3 лет назад
Родитель
Сommit
4b6a2bb9ff
1 измененных файлов с 4 добавлено и 3 удалено
  1. 4 3
      src/device/device.cpp

+ 4 - 3
src/device/device.cpp

@@ -278,11 +278,12 @@ void Device::run()
 {
 	s64 run_t0 = time::now();
 
-	_console_server->register_command_name("pause", "Pause the engine", device_command_pause, this);
-	_console_server->register_command_name("unpause", "Resume the engine", device_command_unpause, this);
+	_console_server->register_command_name("pause",   "Pause the engine",             device_command_pause,   this);
+	_console_server->register_command_name("unpause", "Resume the engine",            device_command_unpause, this);
 	_console_server->register_command_name("refresh", "Reload all changed resources", device_command_refresh, this);
+
 	_console_server->register_message_type("resize", device_message_resize, this);
-	_console_server->register_message_type("frame", device_message_frame, this);
+	_console_server->register_message_type("frame",  device_message_frame,  this);
 
 	_console_server->listen(_options._console_port, _options._wait_console);