[前][次][番号順一覧][スレッド一覧]

ruby-changes:63320

From: Nobuyoshi <ko1@a...>
Date: Sun, 11 Oct 2020 14:24:21 +0900 (JST)
Subject: [ruby-changes:63320] 27b48089e2 (master): Adjusted indents [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=27b48089e2

From 27b48089e2bdc3b0719e75ae8685a496ef8fa9e3 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sun, 11 Oct 2020 14:22:06 +0900
Subject: Adjusted indents [ci skip]


diff --git a/ext/io/wait/wait.c b/ext/io/wait/wait.c
index 1252b56..73bc77a 100644
--- a/ext/io/wait/wait.c
+++ b/ext/io/wait/wait.c
@@ -1,3 +1,4 @@ https://github.com/ruby/ruby/blob/trunk/ext/io/wait/wait.c#L1
+/* -*- c-file-style: "ruby"; indent-tabs-mode: t -*- */
 /**********************************************************************
 
   io/wait.c -
@@ -232,7 +233,7 @@ io_wait(int argc, VALUE *argv, VALUE io) https://github.com/ruby/ruby/blob/trunk/ext/io/wait/wait.c#L233
 
     if (argc < 2 || (argc >= 2 && RB_SYMBOL_P(argv[1]))) {
 	if (argc > 0) {
-	  timeout = argv[0];
+	    timeout = argv[0];
 	}
 
 	for (int i = 1; i < argc; i += 1) {
@@ -243,7 +244,7 @@ io_wait(int argc, VALUE *argv, VALUE io) https://github.com/ruby/ruby/blob/trunk/ext/io/wait/wait.c#L244
 	events = RB_NUM2UINT(argv[0]);
 
 	if (argv[1] != Qnil) {
-	  timeout = argv[1];
+	    timeout = argv[1];
 	}
     }
     else {
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]