소스 검색

Fix incorrect index in SystemTimeException string format

master
The6P4C 7 년 전
부모
커밋
fd99737199
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      ThunderboltTimeSync/SystemTimeUtils.cs

+ 1
- 1
ThunderboltTimeSync/SystemTimeUtils.cs 파일 보기

@@ -4,7 +4,7 @@ using System.Runtime.InteropServices;
namespace ThunderboltTimeSync {
class SystemTimeUtils {
public class SystemTimeException : Exception {
public SystemTimeException(int hresult) : base(string.Format("The system time could not be set (HRESULT 0x{1:X8}).", hresult)) {
public SystemTimeException(int hresult) : base(string.Format("The system time could not be set (HRESULT 0x{0:X8}).", hresult)) {
HResult = hresult;
}
}


불러오는 중...
취소
저장