mirror of
https://github.com/nsnail/dot.git
synced 2025-06-17 21:13:21 +08:00
<fix> 随机数bug
This commit is contained in:
parent
d3af9c3bcc
commit
74b2f0a234
@ -58,7 +58,7 @@ public sealed partial class Main : Tool<Option>
|
||||
for (var i = 0; i != Opt.Length; ++i) //
|
||||
*(pDest + i) = *(pSource + randScope.Rand());
|
||||
|
||||
var result = new string(pDest);
|
||||
var result = new string(pDest, 0, Opt.Length);
|
||||
ClipboardService.SetText(result);
|
||||
Console.WriteLine($"已复制到剪贴板:{result}");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user